Discord Integration Guide
Overview
Connect Tencent WorkBuddy to Discord to interact with your AI assistant through a Discord bot. This integration uses the Claw remote control feature — once configured, you can send tasks and receive results directly in Discord.
Prerequisites
- A Discord account
- A Discord server where you have Manage Server permission (or can create one)
- Tencent WorkBuddy installed and running on your computer
- An active Tencent WorkBuddy account
Setup Steps
Step 1: Create a Discord Application
- Go to the Discord Developer Portal and log in
- Click "New Application"
- Enter a name for your application (e.g., "Tencent WorkBuddy") and click "Create"
Step 2: Create a Bot
In the left sidebar, click "Bot"
Click "Add Bot" → confirm by clicking "Yes, do it!"
Under the bot's username, click "Reset Token" → confirm and copy the Bot Token
Important: Save this token immediately — it will not be shown again. If lost, you must reset it.
Under "Privileged Gateway Intents", enable the following:
- Presence Intent
- Server Members Intent
- Message Content Intent
Click "Save Changes"
Step 3: Invite the Bot to Your Server
- In the left sidebar, click "OAuth2" → "URL Generator"
- Under "Scopes", select:
bot,applications.commands - Under "Bot Permissions", select:
Send MessagesRead Message HistoryAttach FilesUse Slash Commands
- Copy the generated URL at the bottom of the page
- Open the URL in your browser, select your server, and click "Authorize"
Step 4: Configure in Tencent WorkBuddy
- In Tencent WorkBuddy, click the Claw icon in the sidebar
- Go to Claw Settings → Channels
- Select Discord from the channel list
- Paste the Bot Token into the token field
- Click "Save"
Step 5: Start Using the Bot
- Open your Discord server — the Tencent WorkBuddy bot should now appear online
- Send a direct message to the bot, or mention it in a channel with
@Tencent WorkBuddy - Tencent WorkBuddy will respond to your messages in real time
Using Tencent WorkBuddy in Discord
- DM the bot directly to send tasks privately
- Mention
@Tencent WorkBuddyin a server channel to assign tasks - Upload files and images as context
- Receive rich-formatted results with code blocks and embeds
Troubleshooting
| Issue | Solution |
|---|---|
| Bot appears offline | Ensure Tencent WorkBuddy is running on your computer with Claw enabled |
| Bot doesn't respond to messages | Verify Message Content Intent is enabled in the Developer Portal |
| "Missing Permissions" error | Re-invite the bot using the URL Generator with the correct permissions |
| Bot token invalid | Reset the token in the Developer Portal and update it in Tencent WorkBuddy Claw settings |
| Bot not visible in server | Make sure you completed the OAuth2 invite step (Step 3) |