Discord Services Discord Bots and Integrations 1 — Questions and Answers
Question 1: What is the primary way to add a bot to a Discord server?
- Using an OAuth2 authorization link provided by the bot developer (Correct answer)
- Inviting the bot as a friend first
- Purchasing the bot from the Discord store
- Using Discord's built-in bot marketplace only
Correct answer: Using an OAuth2 authorization link provided by the bot developer
Bots are added via an OAuth2 link that requests specific permissions and scopes, redirecting the server owner through Discord's authorization flow.
Question 2: Which Discord API permission scope allows a bot to read messages in channels it has access to?
- MESSAGE_CONTENT (Correct answer)
- READ_MESSAGES
- VIEW_CHANNEL
- CHANNEL_READ
Correct answer: MESSAGE_CONTENT
The MESSAGE_CONTENT privileged intent is required for bots to read the actual content of messages sent in channels.
Question 3: What are Discord 'Slash Commands' used for in bots?
- Providing structured, autocomplete-enabled commands typed with '/' (Correct answer)
- Sending hidden messages visible only to the bot
- Granting the bot admin permissions automatically
- Running bot commands in DMs only
Correct answer: Providing structured, autocomplete-enabled commands typed with '/'
Slash Commands provide a native Discord interface for bot commands, supporting autocomplete, descriptions, and required/optional parameters.
Question 4: What is a Discord 'Webhook' primarily used for?
- Sending automated messages to a channel from external services (Correct answer)
- Receiving messages from Discord users in external apps
- Creating bot accounts without a developer account
- Logging all server activity to a database
Correct answer: Sending automated messages to a channel from external services
Webhooks allow external applications to post messages into a Discord channel using a simple HTTP POST request without a full bot.
Question 5: Which popular Discord bot is widely known for music playback features?
- Hydra (Correct answer)
- MEE6
- Carl-bot
- Dyno
Correct answer: Hydra
Hydra is a well-known Discord music bot that supports streaming audio from platforms like YouTube and Spotify into voice channels.
Question 6: What is the purpose of Discord's 'Application Commands' API?
- To register slash commands, user commands, and message commands for bots (Correct answer)
- To manage bot billing and API usage
- To create animated bot profile pictures
- To allow bots to DM all server members
Correct answer: To register slash commands, user commands, and message commands for bots
The Application Commands API lets developers register interactive commands that appear natively in the Discord UI for users to trigger.
What is the primary way to add a bot to a Discord server?