claude

claude-code-discord-bot-hooks

Routes Claude Code hook events to a Discord channel — approval requests, notifications, and session stop signals — with interactive Approve/Deny buttons. Also provides slash commands to inspect active sessions and conversation history.

0 on GitHubby TonyWu20MITupdated 6 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin claude-code-discord-bot-hooks in TonyWu20/claude-code-discord-bot-hook. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Hooks (7)

  • Notification

    uv run --directory ${CLAUDE_PLUGIN_ROOT}/hooks python notify_discord.py

  • PermissionRequest

    uv run --directory ${CLAUDE_PLUGIN_ROOT}/hooks python notify_discord.py

  • UserPromptSubmit

    kill $(cat /tmp/claude_watchdog.pid 2>/dev/null) 2>/dev/null; uv run --directory ${CLAUDE_PLUGIN_ROOT}/hooks python notify_discord.py --idle-from-stdin

  • SubagentStop

    uv run --directory ${CLAUDE_PLUGIN_ROOT}/hooks python notify_discord.py

  • Stop

    kill $(cat /tmp/claude_watchdog.pid) 2>/dev/null; rm /tmp/claude_watchdog.pid

  • Stop

    uv run --directory ${CLAUDE_PLUGIN_ROOT}/hooks python notify_discord.py

  • StopFailure

    kill $(cat /tmp/claude_watchdog.pid) 2>/dev/null; rm /tmp/claude_watchdog.pid

View source on GitHub

Maintain claude-code-discord-bot-hooks?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted