Intents

This is a bit of an advanced and lengthy topic, but to summarize - if your bot is growing, you have to apply for privileged intents that are tied to data that Discord deems sensitive. For now, just toggle on the members intent as it's mandatory for many bot features. Disqord uses this intent by default. You can come back to this later at any time.

bot_intents.png

Summary

Intents (most often referred to as gateway intents) essentially describe what data and gateway events related to that data your bot will process.

Privileged Intents

TODO

Specyfing Intents

Example of adding intents that the library does not use by default:

hostBuilder.ConfigureDiscordBot((context, bot) =>
{
    // Enables messages from direct (private) channels.
    bot.Intents += GatewayIntent.DirectMessages;
})
Next up: Inviting the Bot.