Skip to content

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

  1. Go to the Discord Developer Portal and log in
  2. Click "New Application"
  3. Enter a name for your application (e.g., "Tencent WorkBuddy") and click "Create"

Step 2: Create a Bot

  1. In the left sidebar, click "Bot"

  2. Click "Add Bot" → confirm by clicking "Yes, do it!"

  3. 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.

  4. Under "Privileged Gateway Intents", enable the following:

    • Presence Intent
    • Server Members Intent
    • Message Content Intent
  5. Click "Save Changes"

Step 3: Invite the Bot to Your Server

  1. In the left sidebar, click "OAuth2""URL Generator"
  2. Under "Scopes", select: bot, applications.commands
  3. Under "Bot Permissions", select:
    • Send Messages
    • Read Message History
    • Attach Files
    • Use Slash Commands
  4. Copy the generated URL at the bottom of the page
  5. Open the URL in your browser, select your server, and click "Authorize"

Step 4: Configure in Tencent WorkBuddy

  1. In Tencent WorkBuddy, click the Claw icon in the sidebar
  2. Go to Claw SettingsChannels
  3. Select Discord from the channel list
  4. Paste the Bot Token into the token field
  5. Click "Save"

Step 5: Start Using the Bot

  1. Open your Discord server — the Tencent WorkBuddy bot should now appear online
  2. Send a direct message to the bot, or mention it in a channel with @Tencent WorkBuddy
  3. 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 WorkBuddy in a server channel to assign tasks
  • Upload files and images as context
  • Receive rich-formatted results with code blocks and embeds

Troubleshooting

IssueSolution
Bot appears offlineEnsure Tencent WorkBuddy is running on your computer with Claw enabled
Bot doesn't respond to messagesVerify Message Content Intent is enabled in the Developer Portal
"Missing Permissions" errorRe-invite the bot using the URL Generator with the correct permissions
Bot token invalidReset the token in the Developer Portal and update it in Tencent WorkBuddy Claw settings
Bot not visible in serverMake sure you completed the OAuth2 invite step (Step 3)