Crate twilight_util
source ·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
builderBuilders for large structs. - link
linkUtilities for parsing and formatting links to various resources. - permission_calculator
permission-calculatorCalculate the permissions of a member on a guild-level or a channel-level. - snowflake
snowflakeProvides the Snowflake trait for defining extractable information from a Discord Snowflake.