#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

#1590 in Web programming

Download history 11833/week @ 2024-10-26 1779/week @ 2024-11-02 22547/week @ 2024-11-09 30372/week @ 2024-11-16 6077/week @ 2024-11-23 19365/week @ 2024-11-30 21714/week @ 2024-12-07 14611/week @ 2024-12-14 220/week @ 2024-12-21 2127/week @ 2024-12-28 19223/week @ 2025-01-04 18015/week @ 2025-01-11 8531/week @ 2025-01-18 10425/week @ 2025-01-25 12210/week @ 2025-02-01 13088/week @ 2025-02-08

47,429 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