Discord Integration
Use Codeteel in your Discord server with slash commands.
!
Discord requires slash commands — you cannot send regular text messages to the bot. Use
/ask for all messages and questions.Setup
1
Add bot to server
On the repo page, click 'Connect Discord'. Click the invite link to add the bot.
2
Connect a channel
In Discord, run /connect token:YOUR_TOKEN (shown on repo page, valid 5 minutes).
3
Use /ask
Send messages with /ask message:your question here.
Commands
/ask message:your question # Send a message to Codeteel /connect token:TOKEN # Connect channel to repo /disconnect # Unlink channel /status # Show connection info /branch name:feature/xyz # Switch branch /branch name:feature/xyz create:true # Create and switch /branches # List all branches /reset # Clear working branch /clear # Clear conversation history /security # Full security scan /security path:src/auth/ # Scoped scan /security pr:42 # PR diff scan /help # Show all commands
Usage example
U
/ask Add a /health endpoint to the server
C
Plan: Add health endpoint (1 step)
1. MODIFY src/server.py — Add /health route
[Approve] [Reject]
Click the Approve button or send /ask yes to execute.
Discord-specific notes
Discord uses embeds for rich formatting and action rows for buttons. Messages are split at 2,000 characters (Discord's limit). Commands are registered as guild commands for instant availability (no 1-hour delay).
✓
Approval also works with text:
/ask yes, /ask go ahead, /ask lgtm, etc.