Closed Korrumz2PL closed 2 years ago
(this is about notifications)
Looking at the code https://github.com/louislam/uptime-kuma/blob/da74391c3e6c315d2f317f7f34224a50a4431520/server/notification-providers/discord.js And the apprise alternative to send a discord message https://github.com/louislam/uptime-kuma/blob/da74391c3e6c315d2f317f7f34224a50a4431520/server/notification-providers/apprise.js
I dont see a way that you can modify the message that is sent. It appears that choosing the "native" discord option sends a card. If you use apprise and send to discord that way you get something like:
[6:27 PM] BOT KumaTuz: [TF2] [🔴 Down] Server not found on Steam Which may be more to your liking.
Looking at https://github.com/caronc/apprise/wiki/Notify_discord tells you basically how to configure the apprise URL for DIscord. discord://---webhookid---/---webhooktoken---/?option=value&option2=value
Not sure if the format tag would do anything for you but I'll try poking it later tonight to see what the outcome is. If I don't report back assume no luck.
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
The default embed value contains a link to an IP address that I don't want to share because anyone who is on my Discord server can see it, btw, I would like to write my own embed
Can this be changed somehow?
🐻 Uptime-Kuma Version
latest
💻 Operating System and Arch
Debian 10, Linux
🌐 Browser
MSEdge
🐋 Docker Version
No response
🟩 NodeJS Version
latest