#twilight #discord #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

#1692 in Web programming

Download history 4548/week @ 2024-06-16 6985/week @ 2024-06-23 5939/week @ 2024-06-30 5958/week @ 2024-07-07 1926/week @ 2024-07-14 4417/week @ 2024-07-21 3803/week @ 2024-07-28 3783/week @ 2024-08-04 7498/week @ 2024-08-11 8779/week @ 2024-08-18 13690/week @ 2024-08-25 7299/week @ 2024-09-01 9536/week @ 2024-09-08 7323/week @ 2024-09-15 9069/week @ 2024-09-22 16764/week @ 2024-09-29

43,342 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–375KB