Connect a Discord bot
Create a Discord application, grant test-channel access, connect Onevium, and verify message and conversation scope.
ChannelsPurpose#
Let a bot in a Discord test channel or direct message use your Onevium project assistant.
Before you start#
Prepare a test server and text channel, then open the Developer Portal. Use an official Bot Token, not personal-account automation. Consult the official guide for installation scope and permissions. Do not grant Administrator for a first test.
First task#
- Create an application and obtain its token on the Bot page. Store it securely.
- Install the bot in the test server. Allow viewing the target channel and sending messages, and check channel overrides.
- Follow Onevium's Discord setup help to check message intents. Check Message Content Intent when message-body access is needed, completing any required platform approval.
- Create a Discord connection in Onevium Channels. Validate the token, select the project, model, and conversation scope, then start.
- Mention the bot with “The test code is gamma,” then ask for the code.
Confirm success#
Both messages reach the correct conversation and replies return to the channel. Unauthorized channels remain inaccessible. Long replies may be split or updated; verify final readable content. Test direct messages and attachments separately.
Common problems#
- Online but not reading: check intents, approval, channel permissions, and triggers.
- Reading without replying: check sending permissions and rate-limit errors.
- Reset token: update Onevium credentials and reconnect.
Next steps#
Choose conversation scope in the channel overview and constrain the assistant's work with the permissions guide.