[BREAKGLASS] Append-only mirror of github.com/openclaw/hermit
Go to file
2026-01-27 02:42:53 -06:00
src Add note when pings are reposted 2026-01-27 02:42:53 -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 Initial barnacle setup 2026-01-23 18:00:53 -06:00
package.json Initial barnacle setup 2026-01-23 18:00:53 -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