-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Add an option to send embed messages to Discord webhooks #907
Comments
Thanks for that info! Also looking interesting is the 'attachment object' too |
please please, i would love it if you were to add this functionality as that is prob the only thing keeping me from using this as I would like. |
I would love to have the embed option as well. Currently, the web url is embedded when sent through Discord webhook and it looks pretty ugly lol. There is no way to post a plain web link though webhook. If the Embed Message feature described in this post is added, it would solve this issue as well. Thanks |
You can use the apprise embeded option by adding Doing, apprise will embed the message. You can also add additional parameters: https://github.com/caronc/apprise/wiki/Notify_discord#parameter-breakdown I checked footer, avatar_url and these are working. |
Awesome, that worked. Thank you. Do you know how to get rid of that "changedetection.io" link on every embed? |
That is the author field, not sure how apprise embeds this one as there is no reference to it in the apprise documentation. Same for footer text and footer image. |
Anyone ever figure out how to remove the author field? I don't like it showing it. Trying to keep the notification simple and clean as possible |
Nope, still can't figure out a way to remove author. It does look annoying so I don't use embed anymore. I wish dev can add it eventually 🤞 |
@XXCoreRangerX Hehe hello, 2 years later you have your answer :)
as example. |
@BlackWolfWoof Thank you sir! That worked great 👍 |
@BlackWolfWoof thanks!! was wondering if you have any advice - I can't get the webhook to show up successfully straight from changedetector.io (hosted), but if I copy and paste the json out of webhook.site and send it via postman, it works just fine. is there any way to easily tell why a discord webhook attempt is failing? |
There is no easy way to tell why it's failing. I removed some stuff from the JSON code and made sure I am using the mentioned post discord webhook with text output format.
|
i had a typo in the url... carry on. 😭 |
A file upload as I suggested here #2723 would be simpler than embeds, allow direct formatting, and increase the limit to theoretically >10 million chars (upload max is 10MB, right?). |
Version and OS
0.39.18 on linux/docker
Is your feature request related to a problem? Please describe.
My monitored URL's {diff} often exceeds the 1700 characters limit. Using embeds could increase the limit up to 4096 characters by using the description field for diffs.
Describe the solution you'd like
Add an embed message type for Discord notifications with a customizable structure consisting of embedded fields. I'm pretty sure Apprise, the dependency used for notifications, already has support for embeds, so adding it here shouldn't be much of an issue.
Describe the use-case and give concrete real-world examples
The limit of diffs would be increased from 1700 to 4096 characters. Additionally, embedded Discord notifications would simply look better than pure text.
The text was updated successfully, but these errors were encountered: