[BREAKGLASS] Append-only mirror of github.com/openclaw/hermit
Go to file
2026-03-02 16:55:33 -06:00
src refactor: simplify role responses 2026-03-02 16:55:33 -06:00
.env.example Stub non-token env defaults 2026-01-23 18:03:45 -06:00
.gitignore Initial barnacle setup 2026-01-23 18:00:53 -06:00
AGENTS.md Enable gateway interactions defaults 2026-01-23 18:20:50 -06:00
bun.lock chore: update carbon 2026-02-18 09:35:33 -06:00
package.json chore: update carbon 2026-02-18 09:35:33 -06:00
README.md Initial barnacle setup 2026-01-23 18:00:53 -06:00
tsconfig.json Initial barnacle setup 2026-01-23 18:00:53 -06:00

barnacle

A Discord bot built with Carbon.

Setup

  1. Create a .env file 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"
  1. Install dependencies:
bun install
  1. Start the development server:
bun run dev

Commands

  • /github - Look up an issue or PR (defaults to clawdbot/clawdbot)

Gateway Events

The bot listens for the following Gateway events:

  • AutoModeration Action Execution - Sends keyword-based responses

AutoMod Responses

Edit src/config/automod-messages.json to map keywords to messages. Use {user} to mention the triggering user.

License

MIT