#discord #discord-api #twilight

twilight-util

Miscellaneous utilities for Twilight

36 releases (14 breaking)

0.15.1 Feb 26, 2023
0.15.0-rc.1 Jan 8, 2023
0.14.0 Nov 14, 2022
0.12.1 Jul 26, 2022
0.2.0 Oct 30, 2020

#274 in Web programming

Download history 200/week @ 2022-12-06 182/week @ 2022-12-13 236/week @ 2022-12-20 217/week @ 2022-12-27 321/week @ 2023-01-03 208/week @ 2023-01-10 239/week @ 2023-01-17 305/week @ 2023-01-24 368/week @ 2023-01-31 232/week @ 2023-02-07 974/week @ 2023-02-14 1411/week @ 2023-02-21 1404/week @ 2023-02-28 1460/week @ 2023-03-07 1395/week @ 2023-03-14 1388/week @ 2023-03-21

5,900 downloads per month
Used in 9 crates (7 directly)

ISC license

495KB
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–440KB