Discord mentions not working
BNWEIN opened this issue · 7 comments
Support guidelines
- I've read the support guidelines
I've found a bug and checked that ...
- ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
Im sure this is a "me" issue rather than a bug, but i am unable to get the mentions functioning in discord notifications.
It posts the correct name in discord, but with no mention? You can see in the screenshot below whilst it has @mrUsername its not highlighted like a usually mention (second screen shot) which means we do not get a ping
Expected behaviour
Expected behaviour is a ping
Actual behaviour
Not being pinged or notified.
Steps to reproduce
discord:
webhookURL: https://discord.com/api/webhooks/apiid/apidiid
mentions:
- "@mruser"
renderFields: true
timeout: 10s
templateBody: |
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.
Diun version
4.26.0
Docker info
Dont think this is needed
Docker Compose config
No response
Logs
Dont think its needed
Additional info
No response
^ I would like to add that this is the preferred way of pinging users in discord.js afaik. So I guess it would also apply to webhooks
s
I have tried both. Although my config looks different to what you have provided
`notif:
discord:
webhookURL: <MyURL>
mentions:
- '@myid'
renderFields: true
timeout: 10s
templateBody: |
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.`
Is there something wrong with the config?
Ugh, i was missing the < >
This is now working! Thank you.
@crazy-max the documentation already shows how to do it
Yes this was my error not the docs!