[{"data":1,"prerenderedAt":411},["ShallowReactive",2],{"navigation":3,"/connect-your-tools/discord":200,"/connect-your-tools/discord-surround":406},[4,22,50,83,120,156,189],{"title":5,"path":6,"stem":7,"children":8,"icon":16},"Getting Started","/getting-started","1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-ph-house",{"title":13,"path":14,"stem":15,"icon":16},"Quickstart","/getting-started/quickstart","1.getting-started/2.quickstart","i-ph-rocket",{"title":18,"path":19,"stem":20,"icon":21},"Plans","/getting-started/plans","1.getting-started/3.plans","i-ph-credit-card",{"title":23,"path":24,"stem":25,"children":26,"icon":29},"Agents","/agents","2.agents/1.index",[27,30,35,40,45],{"title":28,"path":24,"stem":25,"icon":29},"Overview","i-ph-robot",{"title":31,"path":32,"stem":33,"icon":34},"Creating an agent","/agents/creating-an-agent","2.agents/2.creating-an-agent","i-ph-plus",{"title":36,"path":37,"stem":38,"icon":39},"Agent settings","/agents/settings","2.agents/3.settings","i-ph-gear",{"title":41,"path":42,"stem":43,"icon":44},"Memory","/agents/memory","2.agents/4.memory","i-ph-database",{"title":46,"path":47,"stem":48,"icon":49},"Residential proxy","/agents/proxy","2.agents/5.proxy","i-ph-globe-hemisphere-west",{"title":51,"path":52,"stem":53,"children":54,"icon":57},"Chats & Tasks","/chats-and-tasks","3.chats-and-tasks/1.index",[55,58,63,68,73,78],{"title":56,"path":52,"stem":53,"icon":57},"Chats","i-ph-chats-circle",{"title":59,"path":60,"stem":61,"icon":62},"Sharing chats","/chats-and-tasks/sharing-chats","3.chats-and-tasks/2.sharing-chats","i-ph-share-network",{"title":64,"path":65,"stem":66,"icon":67},"Tasks","/chats-and-tasks/tasks","3.chats-and-tasks/3.tasks","i-ph-list-checks",{"title":69,"path":70,"stem":71,"icon":72},"Recurring tasks","/chats-and-tasks/recurring-tasks","3.chats-and-tasks/4.recurring-tasks","i-ph-repeat",{"title":74,"path":75,"stem":76,"icon":77},"Results & deliverables","/chats-and-tasks/results-and-deliverables","3.chats-and-tasks/5.results-and-deliverables","i-ph-package",{"title":79,"path":80,"stem":81,"icon":82},"Save a chat as a skill","/chats-and-tasks/save-chat-as-skill","3.chats-and-tasks/6.save-chat-as-skill","i-ph-sparkle",{"title":84,"path":85,"stem":86,"children":87,"icon":90},"Models & Skills","/models-and-skills","4.models-and-skills/1.index",[88,91,96,101,105,110,115],{"title":89,"path":85,"stem":86,"icon":90},"LLM configuration","i-ph-cpu",{"title":92,"path":93,"stem":94,"icon":95},"Providers & models","/models-and-skills/providers","4.models-and-skills/2.providers","i-ph-stack",{"title":97,"path":98,"stem":99,"icon":100},"Bring your own key","/models-and-skills/byok","4.models-and-skills/3.byok","i-ph-key",{"title":102,"path":103,"stem":104,"icon":29},"ChatGPT subscription","/models-and-skills/chatgpt-subscription","4.models-and-skills/4.chatgpt-subscription",{"title":106,"path":107,"stem":108,"icon":109},"Skills","/models-and-skills/skills","4.models-and-skills/5.skills","i-ph-puzzle-piece",{"title":111,"path":112,"stem":113,"icon":114},"Installing skills","/models-and-skills/installing-skills","4.models-and-skills/6.installing-skills","i-ph-download-simple",{"title":116,"path":117,"stem":118,"icon":119},"Custom skills","/models-and-skills/custom-skills","4.models-and-skills/7.custom-skills","i-ph-code",{"title":121,"path":122,"stem":123,"children":124,"icon":126},"Connect Your Tools","/connect-your-tools","5.connect-your-tools/1.index",[125,127,132,137,142,147,151],{"title":28,"path":122,"stem":123,"icon":126},"i-ph-plug",{"title":128,"path":129,"stem":130,"icon":131},"Telegram","/connect-your-tools/telegram","5.connect-your-tools/2.telegram","i-ph-telegram-logo",{"title":133,"path":134,"stem":135,"icon":136},"Discord","/connect-your-tools/discord","5.connect-your-tools/3.discord","i-ph-discord-logo",{"title":138,"path":139,"stem":140,"icon":141},"Slack","/connect-your-tools/slack","5.connect-your-tools/4.slack","i-ph-slack-logo",{"title":143,"path":144,"stem":145,"icon":146},"Connectors","/connect-your-tools/connectors","5.connect-your-tools/5.connectors","i-ph-link",{"title":148,"path":149,"stem":150,"icon":100},"Secrets","/connect-your-tools/secrets","5.connect-your-tools/6.secrets",{"title":152,"path":153,"stem":154,"icon":155},"Audit log","/connect-your-tools/secret-audit-log","5.connect-your-tools/7.secret-audit-log","i-ph-scroll",{"title":157,"path":158,"stem":159,"children":160,"icon":188},"Account & Team","/account-and-team","6.account-and-team/1.index",[161,164,169,174,179,183],{"title":162,"path":158,"stem":159,"icon":163},"Signing in","i-ph-sign-in",{"title":165,"path":166,"stem":167,"icon":168},"Team members","/account-and-team/teams","6.account-and-team/3.teams","i-ph-users",{"title":170,"path":171,"stem":172,"icon":173},"Roles & permissions","/account-and-team/roles-and-permissions","6.account-and-team/4.roles-and-permissions","i-ph-shield",{"title":175,"path":176,"stem":177,"icon":178},"Invitations","/account-and-team/invitations","6.account-and-team/5.invitations","i-ph-envelope-simple",{"title":180,"path":181,"stem":182,"icon":21},"Billing & upgrades","/account-and-team/billing","6.account-and-team/6.billing",{"title":184,"path":185,"stem":186,"icon":187},"Support","/account-and-team/support","6.account-and-team/7.support","i-ph-lifebuoy","i-ph-user",{"title":190,"path":191,"stem":192,"children":193,"icon":195},"Apps","/apps","7.apps/1.index",[194,196],{"title":190,"path":191,"stem":192,"icon":195},"i-ph-squares-four",{"title":197,"path":198,"stem":199,"icon":119},"Building an app","/apps/building-an-app","7.apps/2.building-an-app",{"id":201,"title":133,"body":202,"description":399,"extension":400,"links":401,"meta":402,"navigation":403,"path":134,"seo":404,"stem":135,"__hash__":405},"docs/5.connect-your-tools/3.discord.md",{"type":203,"value":204,"toc":389},"minimark",[205,209,213,218,229,256,260,311,325,332,336,343,349,353,368,382,386],[206,207,133],"h1",{"id":208},"discord",[210,211,212],"p",{},"Connect a Discord bot and pair it with an agent so people can DM the bot or @mention it in a\nserver channel to chat with the agent.",[214,215,217],"h2",{"id":216},"before-you-start","Before you start",[210,219,220,221,228],{},"A bot connects to an agent, so make sure the workspace has at least one agent first. Then, at\n",[222,223,227],"a",{"href":224,"rel":225},"https://discord.com/developers/applications",[226],"nofollow","discord.com/developers/applications",":",[230,231,232,245],"ol",{},[233,234,235,236,240,241,244],"li",{},"Create an application and add a ",[237,238,239],"strong",{},"bot",", then copy its ",[237,242,243],{},"token",".",[233,246,247,248,251,252,255],{},"Under ",[237,249,250],{},"Bot → Privileged Gateway Intents",", enable ",[237,253,254],{},"Message Content Intent"," — without it\nthe bot can't read messages and will appear unresponsive.",[214,257,259],{"id":258},"connect","Connect",[230,261,262,272,279,285,306],{},[233,263,264,265,268,269,244],{},"Open ",[237,266,267],{},"Settings ▸ Integrations"," and select ",[237,270,271],{},"Connect Discord bot",[233,273,274,275,278],{},"Choose the ",[237,276,277],{},"agent"," that should respond.",[233,280,281,282,244],{},"Paste the ",[237,283,284],{},"bot token",[233,286,287,288],{},"Choose who can message the bot:\n",[289,290,291,297],"ul",{},[233,292,293,296],{},[237,294,295],{},"All users"," — anyone who DMs or mentions the bot.",[233,298,299,302,303,244],{},[237,300,301],{},"Specific user IDs only"," — an allowlist of Discord user IDs. Turn on Developer Mode in\nDiscord, then right-click a user and choose ",[237,304,305],{},"Copy User ID",[233,307,308,309,244],{},"Select ",[237,310,259],{},[210,312,313,314,317,318,321,322,244],{},"The install URL BetterClaw generates requests the permissions the bot needs — ",[237,315,316],{},"View\nChannel",", ",[237,319,320],{},"Send Messages",", and ",[237,323,324],{},"Read Message History",[210,326,327],{},[328,329],"img",{"alt":330,"src":331},"the Connect Discord Bot modal showing the required-setup checklist and bot token field","/screenshots/discord-connect.png",[214,333,335],{"id":334},"add-the-bot-to-a-server","Add the bot to a server",[210,337,338,339,342],{},"After connecting, the bot's card shows an ",[237,340,341],{},"Add to a Discord server"," link. Open it to invite\nthe bot to a server with the right permissions already selected.",[210,344,345],{},[328,346],{"alt":347,"src":348},"a connected Discord card with the \"Add to a Discord server\" link and permission badges","/screenshots/discord-card.png",[214,350,352],{"id":351},"manage-it","Manage it",[210,354,355,356,359,360,363,364,367],{},"From the card you can ",[237,357,358],{},"Edit"," (change response mode and allowlist, or ",[237,361,362],{},"pause"," the bot) or\n",[237,365,366],{},"Disconnect",". To change the bot token, disconnect and reconnect.",[369,370,371],"note",{},[210,372,373,374,377,378,381],{},"You can connect ",[237,375,376],{},"more than one Discord bot"," — each paired to a different agent — using ",[237,379,380],{},"Add\nanother Discord bot"," on the Integrations page.",[214,383,385],{"id":384},"using-it","Using it",[210,387,388],{},"DM the bot or @mention it in a channel, and the assigned agent replies.",{"title":390,"searchDepth":391,"depth":392,"links":393},"",1,2,[394,395,396,397,398],{"id":216,"depth":392,"text":217},{"id":258,"depth":392,"text":259},{"id":334,"depth":392,"text":335},{"id":351,"depth":392,"text":352},{"id":384,"depth":392,"text":385},"Connect a Discord bot to one of your agents.","md",null,{},{"icon":136},{"title":133,"description":399},"-8bR4G7vIqUT2XdVFJ-FqqQ0fSabZO1OUsZ8N07U57I",[407,409],{"title":128,"path":129,"stem":130,"description":408,"icon":131,"children":-1},"Connect a Telegram bot to one of your agents.",{"title":138,"path":139,"stem":140,"description":410,"icon":141,"children":-1},"Connect a Slack workspace to one of your agents.",1787397459849]