Webhooks for activity notifications
I'm experimenting with using webhooks as a notification mechanism for tournament and turn based game activity notification. The general scheme I have in mind is that in situations where the used might be send an email (ie; “it's your turn”) there will also be a notification on a discord channel using a webhook.
The most natural way to implement this would be with a webhook that the user generates to directly message them - basically the same as generating a webhook for a server channel, but which would generate a PM for the user.
Another way would be to use a server channel webhook and @mention the user, this actually works right now, but it's very inconvenient for the user to find their user uid. It would be nice if an @mention would work from the user name rather than the UID. It would be even better, and more general, if notifications could be generated based on a regex for the messages on the channel.
Please sign in to leave a comment.
Comments
0 comments