#discord #twilight #discord-api

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

#1260 in Web programming

Download history 323/week @ 2023-12-23 3405/week @ 2023-12-30 4250/week @ 2024-01-06 3615/week @ 2024-01-13 7577/week @ 2024-01-20 4486/week @ 2024-01-27 5859/week @ 2024-02-03 7898/week @ 2024-02-10 1701/week @ 2024-02-17 7940/week @ 2024-02-24 2923/week @ 2024-03-02 7038/week @ 2024-03-09 6382/week @ 2024-03-16 9825/week @ 2024-03-23 13818/week @ 2024-03-30 1896/week @ 2024-04-06

33,681 downloads per month
Used in 12 crates (10 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–390KB