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

twilight-util

Miscellaneous utilities for Twilight

41 releases

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

#1596 in Web programming

Download history 9442/week @ 2024-10-25 4819/week @ 2024-11-01 15650/week @ 2024-11-08 36249/week @ 2024-11-15 7394/week @ 2024-11-22 16253/week @ 2024-11-29 18666/week @ 2024-12-06 20555/week @ 2024-12-13 481/week @ 2024-12-20 1893/week @ 2024-12-27 13667/week @ 2025-01-03 21167/week @ 2025-01-10 9452/week @ 2025-01-17 10175/week @ 2025-01-24 10725/week @ 2025-01-31 12942/week @ 2025-02-07

50,046 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