summaryrefslogtreecommitdiff
path: root/plugins/plugin-dev/skills/command-development/examples
diff options
context:
space:
mode:
authorKenneth Lien <kenneth@anthropic.com>2026-03-20 11:28:51 -0700
committerKenneth Lien <kenneth@anthropic.com>2026-03-20 11:28:51 -0700
commitaa71c24314ab2336e4ae55d59490180822789d49 (patch)
treebddd778b9f02ebc65057d5b7de6d6a918546e909 /plugins/plugin-dev/skills/command-development/examples
parent90accf6fd2008fe0ee9578ebc088740c3a754d58 (diff)
discord: port resilience fixes from telegramkenneth/discord-resilience
Same patterns as #812/#813 for the discord channel: - process-level unhandledRejection/uncaughtException handlers - client.on('error') to log discord.js errors - mcp.notification().catch() so inbound delivery failures surface - stdin close / SIGTERM -> client.destroy() + exit (zombie fix) - .unref() the approval-check interval - client.login().catch() to log+exit on bad token instead of crashing Discord is inherently more resilient than telegram (discord.js auto-reconnects, no 409 equivalent), but these gaps were still there.
Diffstat (limited to 'plugins/plugin-dev/skills/command-development/examples')
0 files changed, 0 insertions, 0 deletions