mirror of https://github.com/openclaw/hermit.git
|
|
||
|---|---|---|
| src | ||
| .env.example | ||
| .gitignore | ||
| AGENTS.md | ||
| README.md | ||
| bun.lock | ||
| drizzle.config.ts | ||
| package.json | ||
| tsconfig.json | ||
README.md
hermit
A Discord bot built with Carbon.
Repository: https://github.com/openclaw/hermit
Setup
- 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
Commands
/github- Look up an issue or PR (defaults to openclaw/hermit)
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