setup guide03 / 04

Discord bot

Five minutes from zero to a bot SILV can drive: list channels, read up to 100 recent messages per channel, send messages, and post threaded replies.

01

Create the application

Go to discord.com/developers/consolelications, click New Application, and give it a name — this is what your server members will see.

02

Get the bot token

Open the Bot tab in the left sidebar. Click Reset Token and copy the token that appears. Treat it like a password — anyone with it controls your bot.

03

Enable the Message Content intent (required)

Still on the Bot tab, scroll to Privileged Gateway Intents and switch on Message Content Intent. Without it the bot can't read what people write — and login may fail outright with a Used disallowed intents error.

04

Invite the bot to your server

Go to OAuth2 → URL Generator. Under scopes select bot; under bot permissions tick View Channels, Send Messages, and Read Message History. Open the generated URL and pick the server you want the bot in.

05

Connect it to SILV

Paste the token into the Discord field at /console and connect. Once online, confirm everything works with a first prompt.Connect at the console

first prompt

> list the channels you can see

connected ≠ replying

The bot won't answer anyone on Discord by itself — you have to tell SILV in the terminal what to do. Ask for a one-off reply (“reply to me in #general”) or set standing behavior (“watch #support and answer common questions” creates a monitor). Until you do, it only listens.

Troubleshooting

Login fails with “Used disallowed intents”

The Message Content intent isn't enabled. Go back to the Bot tab of your application, enable it under Privileged Gateway Intents, and reconnect.

The agent sees no channels

Check that the bot was actually invited to the server (it should appear in the member list) and that it has the View Channels permission — both server-wide and in any private channels you expect it to read.