Discord Setup
Connect your Vecbase agent to Discord so users in your server can chat with it.Prerequisites
- A Discord account
- A Discord server where you have admin permissions
- A Vecbase agent created
Step 1: Create a Discord Application
Open Developer Portal
Go to Discord Developer Portal and log in.
Step 2: Invite Bot to Your Server
Generate invite URL
Go to OAuth2 → URL Generator.Select scopes:
- ✅
bot - ✅
applications.commands
- ✅ Send Messages
- ✅ Read Message History
- ✅ Attach Files
- ✅ Add Reactions
- ✅ Manage Threads
Step 3: Connect in Vecbase
Enter credentials
- Display Name: A name for this channel (e.g., “Dev Server Bot”)
- Bot Token: Paste the token from Step 1
Step 4: Test
Go to your Discord server and send a message in a channel where the bot has access. The bot will respond automatically.In servers with many channels, the bot responds only in channels where it has Send Messages permission. You can use Discord’s channel permissions to control where the bot is active.
Limitations
| Limit | Value |
|---|---|
| File upload | 25 MB (default, 50 MB with Nitro boost) |
| Message length | 2,000 characters |

