add-discord

Community

Enable Discord as a NanoClaw channel.

Authorgunabot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables Discord as a NanoClaw channel, allowing Claude to exchange messages with Discord users alongside existing channels in a secure, containerized workflow.

Core Features & Use Cases

  • Discord as a channel: Works alongside WhatsApp, or as a Discord-only integration.
  • Scope IDs: Messages are addressed as discord:<guildId>:<channelId> for guild channels or discord:dm:<userId> for DMs.
  • Storage: Uses the same store/messages.db in the SQLite database.
  • Typing indicators: Typing indicators are supported and responses are sent for allowed messages.
  • Use Case: A user messages the bot in a DM or in a specified Discord channel and Claude responds accordingly.

Quick Start

  • Export environment variables:
    • DISCORD_TOKEN (required)
    • DISCORD_MAIN_CHANNEL_ID (recommended)
    • DISCORD_ALLOWED_GUILD_IDS (optional CSV)
    • DISCORD_ALLOWED_CHANNEL_IDS (optional CSV)
  • Run the bot:
    • npm run dev
  • Verify:
    • DM messages are responded to.
    • Messages in the main channel are responded to.
    • Other channels are only accepted when allowlisted.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-discord
Download link: https://github.com/gunabot/nanoclaw/archive/main.zip#add-discord

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.