discord_gleam/discord/intents
Types
Values
pub fn all() -> Intents
Enable all the intents, use this if you want to receive all supported events.
pub fn default() -> Intents
Enable a set of default intents, which are usally used by most bots.
pub fn intents_to_bitfield(intents: Intents) -> Int
Calculate a bitfield from a set of intents.