Need Help Removing the Service URL in discord notification #3026

Closed
opened 2026-02-28 03:15:14 -05:00 by deekerman · 3 comments
Owner

Originally created by @snaponeph on GitHub (Jan 12, 2024).

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ 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

Originally created by @snaponeph on GitHub (Jan 12, 2024). ### ⚠️ Please verify that this question has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/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_
Author
Owner

@CommanderStorm commented on GitHub (Jan 12, 2024):

Related

Closing as a duplicate of #2507

@CommanderStorm commented on GitHub (Jan 12, 2024): Related - https://github.com/louislam/uptime-kuma/issues/927 - #646 Closing as a duplicate of #2507
Author
Owner

@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#48

             address = null;

You can also customize the content sent according to your needs. Change will take effect on server restart.

@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#48` ``` address = null; ``` You can also customize the content sent according to your needs. Change will take effect on server restart.
Author
Owner

@CommanderStorm commented on GitHub (Jan 12, 2024):

@chakflying You forgot to mention that this only works if using a persistent fs like the node/pm2 installation path.
If using the docker installation path, a custom image with this change would need to be build.

@CommanderStorm commented on GitHub (Jan 12, 2024): @chakflying You forgot to mention that this only works if using a persistent fs like the `node`/`pm2` installation path. If using the `docker` installation path, a custom image with this change would need to be build.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#3026
No description provided.