Update restart notification message to be more accurate
Changed from 'Auto-Restarted' to 'Restarted' and made the message generic since the bot restarts for multiple reasons (manual, deployment, healthcheck) - not just healthcheck failures. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d31ca7d7e5
commit
eb2a511507
@ -23,10 +23,9 @@ def send_restart_notification():
|
||||
|
||||
data = {
|
||||
"content": (
|
||||
f"**Paper Dynasty Bot Auto-Restarted** at {timestamp}\n\n"
|
||||
"Healthcheck detected bot was offline/frozen. "
|
||||
"Bot has been automatically restarted.\n\n"
|
||||
"Check `/logs/restart_diagnostics.log` for details."
|
||||
f"**Paper Dynasty Bot Restarted** at {timestamp}\n\n"
|
||||
"Bot has successfully connected to Discord.\n\n"
|
||||
"Check `/logs/discord.log` for startup details."
|
||||
),
|
||||
"username": "Paper Dynasty Monitor",
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user