style: improved discord webhooks notifications

This commit is contained in:
190km
2024-12-01 04:09:19 +01:00
parent 63998f71ec
commit a235815a13
6 changed files with 51 additions and 49 deletions
@@ -34,12 +34,12 @@ export const sendDokployRestartNotifications = async () => {
if (discord) {
await sendDiscordNotification(discord, {
title: "✅ Dokploy Server Restarted",
color: 0x00ff00,
title: "> `✅` - Dokploy Server Restarted",
color: 0x57f287,
fields: [
{
name: "Time",
value: date.toLocaleString(),
name: "`📅`・Time",
value: `\`\`\`${date.toLocaleString()}\`\`\``,
inline: true,
},
],