Expand description
§twilight-util
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.
§link
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.
Modules§
- builder
builder
Builders for large structs. - link
link
Utilities for parsing and formatting links to various resources. - permission_
calculator permission-calculator
Calculate the permissions of a member on a guild-level or a channel-level. - snowflake
snowflake
Provides the Snowflake trait for defining extractable information from a Discord Snowflake.