-
Notifications
You must be signed in to change notification settings - Fork 256
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 Request] Allow discord webhooks aswell as slack #547
Comments
I like that idea. What would that enable? How does the interaction with discord look like? |
It would be the same as slack. You can read more at https://discordapp.com/developers/docs/resources/webhook |
EDIT: deleted my old comments as I just figured that I was totally wrong, i.e. didn't know about the existing slack integration |
@Busterguy you could experiment by changing the pattern for the URL here: pathfinder/public/templates/dialog/map.html Line 126 in 357e7b8
The regex prevents you from trying out the discord URLs |
Thanks. I’m not hosting my own at the moment. |
Thanks for your suggestion. Ill think about that. A bit hakky but it should work ;) |
I managed to make Pathfinder work with Discord's webhook using the link provided by @Busterguy It involved just 2 small hacks, particularly in the frontend validation mentioned by @srmo and a change to the However, I'd say that so far it works really well... |
I am interested by an operating procedure to connect a PathFinder hosted by myself & a discord channel as service. |
Anything new here ? It should be very easy to modify current Slack integration to be able use it for Discord. Now I need to hack into PF, because there are checks, which disallows to safe Discords webhook URL. |
With discord being used just as much if not more than slack can you please allow webhooks to discord as well as slack because at the moment it's rejecting the input.
https://i.gyazo.com/5b538c94679e565e35ac2d584f0b41e1.png
Discord already has the ability to accept the slack format by just putting /slack on the end of a discord webhook.
https://discordapp.com/developers/docs/resources/webhook#execute-slackcompatible-webhook
The text was updated successfully, but these errors were encountered: