mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Need Help Removing the Service URL in discord notification #3026
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#3026
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @snaponeph on GitHub (Jan 12, 2024).
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
Need Help Removing the Service URL in the discord notification so i can Add this notification to status channel that my all clients can see. the purpose of this question is to hide the service url so it can be private so i can release the notification channel to everyone so i cannot worry anymore that my client will see the IP's and link in the notification.
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Ubuntu
🌐 Browser
Google Chrime
🐋 Docker Version
No response
🟩 NodeJS Version
No response
@CommanderStorm commented on GitHub (Jan 12, 2024):
Related
Closing as a duplicate of #2507
@chakflying commented on GitHub (Jan 12, 2024):
Notification templating is difficult and unlikely to be implemented soon. However, what you needed can be done very simply by adding 1 line change:
server/notification-providers/discord.js#48You can also customize the content sent according to your needs. Change will take effect on server restart.
@CommanderStorm commented on GitHub (Jan 12, 2024):
@chakflying You forgot to mention that this only works if using a persistent fs like the
node/pm2installation path.If using the
dockerinstallation path, a custom image with this change would need to be build.