{ "description": "Use nanobot from Discord servers and DMs.", "requirements": "Discord bot token, permissions, gateway", "setup": { "docsLabel": "Open Discord setup", "officialLabel": "Open Discord portal", "tryIt": "Mention the bot in a server or send it a direct message.", "summary": "Connecting Discord requires a bot token and the appropriate server permissions.", "steps": [ "Create a bot in Discord Developer Portal and copy its token.", "Invite the bot to your server with message read/send and slash command permissions.", "Save and enable Discord, then mention the bot or send a direct message." ], "fields": { "token": { "label": "Bot token", "placeholder": "Discord bot token", "help": "Create it from the Bot page in Discord Developer Portal." }, "allowChannels": { "label": "Allowed channels", "placeholder": "Channel IDs, comma separated", "help": "Leave empty to allow any channel the bot can read." }, "groupPolicy": { "label": "Group behavior", "choices": { "mention": "Mention only", "open": "All messages", "allowlist": "Allowlist" } }, "allowFrom": { "label": "Allowed users", "placeholder": "User IDs, comma separated" } } } }