This commit is contained in:
Xargana 2025-04-17 16:38:53 +03:00
parent cf7098a94b
commit d2faf027ae

View file

@ -170,7 +170,7 @@ class Bot {
async sendShutdownNotification(reason = "Manual shutdown", error = null) { async sendShutdownNotification(reason = "Manual shutdown", error = null) {
// Create shutdown embed // Create shutdown embed
const shutdownEmbed = { const shutdownEmbed = {
title: "blahaj.tr bot status update", title: "Bot Shutdown Notification",
description: `Bot is shutting down at <t:${Math.floor(Date.now() / 1000)}:F>`, description: `Bot is shutting down at <t:${Math.floor(Date.now() / 1000)}:F>`,
color: 0xFF0000, color: 0xFF0000,
fields: [ fields: [
@ -181,7 +181,7 @@ class Bot {
}, },
{ {
name: "Shutdown Reason", name: "Shutdown Reason",
value: reason || "Unknown", value: reason || "Unknown reason",
inline: true inline: true
}, },
{ {