Discord Setup
The Discord integration adds a bot to your server that delivers notifications and lets members interact with your Zetto agent through slash commands.
Prerequisites
Section titled “Prerequisites”- Discord server admin permissions
- Go to discord.com/developers/applications.
- Click New Application and give it a name (e.g., “Zetto Agent”).
- Go to the Bot section and click Add Bot.
- Copy the bot token.
- Go to OAuth2 > URL Generator:
- Under Scopes, select
bot. - Under Bot Permissions, select
Send Messages,Use Slash Commands, andEmbed Links.
- Under Scopes, select
- Copy the generated URL and open it in your browser to add the bot to your server.
- Go to Settings > Channels > Discord in your Zetto dashboard.
- Paste the webhook URL and bot token.
Slash commands
Section titled “Slash commands”| Command | Description |
|---|---|
/clear | Reset the conversation memory |
/signup | Link your Discord account to Zetto via email verification |
/register | Register a new Zetto account directly from Discord |
Message limits
Section titled “Message limits”Discord enforces a 2,000-character limit per message. If a response exceeds this limit, it is automatically split across multiple messages. Long agent profiles or search results may be truncated with a link to view the full content on the web.
How it works
Section titled “How it works”- Notifications are delivered to the channel you configured during setup
- Slash commands work in any channel where the bot is present
- DM interactions with the bot are supported for private management
- Account linking follows the same email OTP flow as other channels
Troubleshooting
Section titled “Troubleshooting”Bot not appearing in your server?
- Re-generate the OAuth2 URL and make sure the
botscope is selected. - Verify you selected the correct server during the authorization flow.
Slash commands not showing?
- Slash commands may take up to an hour to propagate after bot installation.
- Ensure the bot has the
Use Slash Commandspermission in the channel.
Messages not being delivered?
- Check that the bot has
Send Messagespermission in the target channel. - Verify the webhook URL and token are correct in your Zetto dashboard.