Gateway Intents
This guide will explain to you how to use Gateway Intents in BDFD, and what they are for. If you are looking for general information about Discord's Gateway Intents, read it here.
How to enable Gateway Intents
Gateway Intents must be enabled in the Discord Developer Portal and in the BDFD app for them to work.
Discord Developer Portal
- Go to the Discord Developer Portal and select your application.
- Go to the "Bot" tab.
- Scroll down and enable the Gateway Intents you are interested in.
- Save changes.
BDFD App
- Open the app and select your bot.
- Go to the "Settings" tab.
- Scroll down and enable the Gateway Intents you are interested in.
- Save changes.
Use of Gateway Intents
Presence Intent
Required for the functions $membersCount[]
and $getUserStatus[]
to work.
Server Members Intent
Required for some callbacks to work (e.g. for $onJoined[]
)
Message Content Intent
Required for text commands to work if your bot is verified. Without this intent, your bot can only be based on slash commands.