Discord
Integrate with a Discord Bot
Overview
The Discord tools allows you to integrate with a Discord bot, enabling you to send messages, retrieve messages from channels, add reactions, and fetch user information. This is useful for automating interactions with Discord servers.
Key Features
DISCORD_SEND_MESSAGE
- Send messages to Discord channels
DISCORD_GET_CHANNEL_MESSAGES
- Retrieve messages from a specific channel
- Supports filtering
DISCORD_ADD_REACTION
- Add reactions to messages
DISCORD_GET_USER_INFO
- Fetch user information (e.g. roles, permissions)
Authentication
To use the Discord tool, you need a Discord bot token. You can create a bot and obtain the token from the Discord Developer Portal. Follow the instructions in the developer documentation to set up your bot and get the token.
Note: Treat API keys as sensitive information and never commit them to public repositories.