Hook#buildwithclaude
0
Discord detailed notifications
Oturum bilgileri ve zengin yerleştirmelerle ayrıntılı Discord bildirimleri gönderin
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Oturum bilgileri ve zengin yerleştirmelerle ayrıntılı Discord bildirimleri gönderin
Kaynak: davepoon/claude-code-subagents-collection · MIT
curl -sL https://www.antrophiclove.com/api/kaynak/discord-detailed-notifications/rawBu içerik mevcut dosyaya elle harmanlanmalı: .claude/settings.json
Send detailed Discord notifications with session information and rich embeds
Stop*DISCORD_WEBHOOK_URL#!/bin/bash
if [[ -z "$DISCORD_WEBHOOK_URL" ]]; then
exit 0
fi
session_id="${CLAUDE_SESSION_ID:-unknown}"
timestamp=$(date '+%Y-%m-%d %H:%M:%S')
payload=$(jq -n \
--arg title "Claude Code Session Complete" \
--arg desc "Session finished at $timestamp" \
--arg session "Session: $session_id" \
'{
"embeds": [{
"title": $title,
"description": $desc,
"color": 5814783,
"fields": [{"name": "Session ID", "value": $session, "inline": true}],
"timestamp": (now | todate)
}]
}')
curl -s -X POST "$DISCORD_WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d "$payload" >/dev/null 2>&1