Optional
options: MessageIntentOptionsAdd Guilds
This is required if you are syncing commands by guild
Add GuildMessages
useGuild
is also required for this to work
Optional
options: MessageIntentOptionsAdd GUILD_VOICE_STATES
,
this is required if you use @leomotors/music-bot
Add MessageContent
, THIS IS PRIVILEGED INTENT
Only use this if your bot wants to read every message, useGuildMessage alone will work if your bot only react to message mentioning it or from Direct Message.
If you use Message Center with prefix, this is required intent.
Utility class that help you construct Intents and Partials in Cocoa way, these are used to register event listener to Discord
It is best practice to request for only what you need, this also improve performance of your bot.
For more information, see