Merge pull request #793 from 190km/discord-notifications

style: improved discord webhooks notifications style
This commit is contained in:
Mauricio Siu
2024-12-02 22:01:59 -06:00
committed by GitHub
6 changed files with 101 additions and 38 deletions

View File

@@ -188,8 +188,9 @@ export const notificationRouter = createTRPCRouter({
.mutation(async ({ input }) => {
try {
await sendDiscordNotification(input, {
title: "Test Notification",
description: "Hi, From Dokploy 👋",
title: "> `🤚` - Test Notification",
description: "> Hi, From Dokploy 👋",
color: 0xf3f7f4
});
return true;
} catch (error) {