#discord #twilight #discord-api #utilities #struct

twilight-util

Miscellaneous utilities for Twilight

41 releases

new 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

#1390 in Web programming

Download history 9054/week @ 2024-09-22 16838/week @ 2024-09-29 3223/week @ 2024-10-06 14022/week @ 2024-10-13 7792/week @ 2024-10-20 11811/week @ 2024-10-27 1852/week @ 2024-11-03 26430/week @ 2024-11-10 27472/week @ 2024-11-17 5017/week @ 2024-11-24 22368/week @ 2024-12-01 19097/week @ 2024-12-08 14214/week @ 2024-12-15 191/week @ 2024-12-22 2179/week @ 2024-12-29 19203/week @ 2025-01-05

36,232 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–370KB