A Discord bot built with Carbon.
- Create a
.envfile with the following variables:
BASE_URL="your-base-url"
DEPLOY_SECRET="your-deploy-secret"
DISCORD_CLIENT_ID="your-client-id"
DISCORD_PUBLIC_KEY="discord-public-key"
DISCORD_BOT_TOKEN="your-bot-token"- Install dependencies:
bun install- Start the development server:
bun run dev/github- Look up an issue or PR (defaults to clawdbot/clawdbot)
The bot listens for the following Gateway events:
- AutoModeration Action Execution - Sends keyword-based responses
Edit src/config/automod-messages.json to map keywords to messages. Use {user} to mention the triggering user.
MIT