#discord #twilight #discord-api #struct

twilight-util

Miscellaneous utilities for Twilight

41 releases

0.16.0 Jan 12, 2025
0.16.0-rc.1 Feb 21, 2024
0.15.4 Sep 10, 2023
0.15.2 Apr 27, 2023
0.2.0 Oct 30, 2020

#1532 in Web programming

Download history 22882/week @ 2024-11-19 6132/week @ 2024-11-26 22899/week @ 2024-12-03 22620/week @ 2024-12-10 8209/week @ 2024-12-17 128/week @ 2024-12-24 2927/week @ 2024-12-31 21958/week @ 2025-01-07 14649/week @ 2025-01-14 9523/week @ 2025-01-21 10496/week @ 2025-01-28 11731/week @ 2025-02-04 13391/week @ 2025-02-11 16140/week @ 2025-02-18 13009/week @ 2025-02-25 14051/week @ 2025-03-04

57,145 downloads per month
Used in 18 crates (15 directly)

ISC license

540KB
12K SLoC

twilight-util

codecov badge discord badge github badge license badge rust badge

twilight-util is a set of utility types and functions for the twilight-rs ecosystem to augment or enhance default functionality.

Features

builder

Provides builders for large structs.

Provides implementations for parsing and formatting entities' URLs, such as webhook URLs.

permission-calculator

Allows the use of a calculator to determine the permissions of a member in a guild or channel.

snowflake

Allows the use of the Snowflake trait, which provides methods for the extraction of structured information from Discord snowflakes.

Dependencies

~0–380KB