Install
openclaw skills install discord-connect-wizardOne-machine Discord bot onboarding wizard for OpenClaw. Use when setting up Discord for the first time (create bot, enable intents, invite to a guild, auto-write OpenClaw config, restart gateway, and complete DM pairing). Designed for local Mac/Windows/Linux hosts with a localhost web UI + optional browser automation guidance.
openclaw skills install discord-connect-wizardRun a localhost setup wizard that minimizes manual Discord steps.
Non-negotiable manual steps (Discord security):
Wizard does:
channels.discord.accounts.<accountId> entry (never overwrites existing bots)openclaw config set ... --jsonUse browser automation + chat prompts. No localhost UI required.
Hard requirement: agent opens and drives the Developer Portal via browser tool (do not ask user to open pages or click around). Resilience rule: if the browser tool times out / disconnects, the agent must self-recover (restart gateway/browser as needed) and retry. Only ask the user to click if recovery is impossible. UX rule: whenever the user must act (login/CAPTCHA/MFA/OAuth authorize), send a screenshot + ONE instruction line. If you need a deterministic step list, run:
node scripts/conversation-checklist.mjs
Then follow references/conversation-mode.md.
cd <skill_dir>
node scripts/wizard.mjs
# open http://127.0.0.1:8787
User steps you will see on screen:
Then (agent-guided):
Wizard generates an invite URL with scopes:
botapplications.commandsand baseline permissions:
You still need to select the server and click Authorize.
Wizard writes:
channels.discord.enabled=truechannels.discord.token=...channels.discord.groupPolicy="allowlist"channels.discord.guilds.<guildId>.requireMention=falsechannels.discord.guilds.<guildId>.users=["<yourUserId>"]Then runs openclaw gateway restart.
openclaw pairing approve discord <CODE>If an OpenClaw agent with the browser tool is available, use it to:
Do not attempt to bypass CAPTCHA/2FA; pause for manual completion.
scripts/wizard.mjs: localhost wizard server + OpenClaw config writerreferences/openclaw-discord-baseline.md: official baseline config + troubleshooting pointers