#discord #twilight #discord-api #utilities

twilight-util

Miscellaneous utilities for Twilight

40 releases

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

#1344 in Web programming

Download history 7841/week @ 2024-03-14 2549/week @ 2024-03-21 19564/week @ 2024-03-28 3457/week @ 2024-04-04 4967/week @ 2024-04-11 4844/week @ 2024-04-18 4666/week @ 2024-04-25 3278/week @ 2024-05-02 2611/week @ 2024-05-09 10738/week @ 2024-05-16 10449/week @ 2024-05-23 4218/week @ 2024-05-30 10601/week @ 2024-06-06 6277/week @ 2024-06-13 6539/week @ 2024-06-20 8110/week @ 2024-06-27

32,574 downloads per month
Used in 13 crates (11 directly)

ISC license

520KB
11K 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