Back to Hooks

Discord Error Notifications

Hooks automation 179

Send Discord notifications when Claude Code encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues with rich embeds. Requires DISCORD_WEBHOOK_URL environment variable.

Install Command
npx claude-code-templates@latest --hook automation/discord-error-notifications
View on GitHub
claude-code — discord-error-notifications

Content

JSON
{
"description": "Send Discord notifications when Claude Code encounters long-running operations o..."
"hooks": {
"PreToolUse": [1 item]
"PostToolUse": [1 item]
"Notification": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.