What Are Bots?
Automated users that interact with spaces, channels, and members via the Argon Bot API.
Overview
Bots are special Argon accounts controlled by code instead of a human. They can send messages, moderate channels, stream audio, respond to slash commands, and react to real-time events — all through a simple REST + SSE API.
Every bot has a linked user account (with a _bot username suffix)
and appears in member lists like any other user. Under the hood, bot requests are authenticated with a secret token
and processed through the same permission system as regular users.
Architecture
REST API — Send messages, manage channels, query members, register commands. All endpoints require Authorization: Bot <token>.
SSE Stream — Open a single persistent connection to receive events in real time. Filter events by intent bitmask. Automatically replay missed events on reconnection.
Voice WebSocket — Stream Opus audio directly to voice channels via a WebSocket ingress endpoint. No WebRTC needed.
Bot vs. User
_bot Free choice Bot Lifecycle
- 1
Create
Register a bot application at console.argon.gl. Get your bot token.
- 2
Install
Add the bot to a space. The bot appears as a member and can interact with channels.
- 3
Connect
Open an SSE stream with your desired intents. Receive a
Readyevent with your active spaces. - 4
React
Handle incoming events (messages, commands, member changes) and respond via REST API calls.
- 5
Scale
Apply for verification to unlock privileged intents, higher rate limits, and advanced APIs like voice egress and calls.
Verified Bots
Verified bots have been reviewed by the Argon team and gain access to:
- Privileged intents — Members, Presence, and other sensitive event categories
- Higher rate limits — Increased token buckets for all interfaces
- Voice egress — Listen to individual audio tracks from voice channels
- Calls API — Accept incoming calls from users
- Verified badge — Displayed next to the bot name in member lists
Apply for verification through the Developer Console.