louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60k stars 5.36k forks source link

Change discord message? #2109

Closed Ultra-Meloncrafter closed 1 year ago

Ultra-Meloncrafter commented 2 years ago

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

🛡️ Security Policy

📝 Describe your problem

Is there a way to change the discord message, because when i tried it, it didn't change much

🐻 Uptime-Kuma Version

1.18.0

💻 Operating System and Arch

Debian 10

🌐 Browser

Opera GX Latest

🐋 Docker Version

No response

🟩 NodeJS Version

v16.17.0

Alex2021cyberhuman commented 2 years ago

Hello. I found lines where discord notification provider setting title to discord embeded object I think it will help you or some one else to implement custom messages Tell me if i wrong.

Ultra-Meloncrafter commented 2 years ago

i already changed that and restarted uptime-kuma, but it didn't change anything

Computroniks commented 2 years ago

Did you only edit the title or all of the lines? https://github.com/louislam/uptime-kuma/blob/9a7c2d562ab6baeea96ded002ac5b8664bfb193c/server/notification-providers/discord.js#L49-L71

github-actions[bot] commented 1 year ago

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 2 days with no activity.

Hi-ImKyle commented 10 months ago

A more concrete way of changing the sent embed would be nice to have. Even if it's just a text area that accepts an embed in json with say replacement words like %MONITOR_NAME% or %MONITOR_STATUS%

CommanderStorm commented 10 months ago

Please subscribe to this issue instead https://github.com/louislam/uptime-kuma/issues/1388 I think adding this would require https://github.com/louislam/uptime-kuma/issues/646 first