Intents
Implementation of discord intents as a luau builder.
https://discord.com/developers/docs/topics/gateway#list-of-intents
Properties
The Intents instance has no set properties!
Methods
The Intents instance has no set methods!
Functions
addIntent
Intents . addIntent () -> ()
self: Intents
intent: apiTypes.Intent
Sets either the id of a guilds custom emoji, or a unicode character of an emoji.
build
Intents . build () -> ()
self: Intents
Responsible for building all intent permissions into an integer that the Discord API can parse
new
Constructs a new intents builder.
Intents.new() :addIntent("GuildMembers") :addIntent("GuildMessages") :build()