Skip to content
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

Slack/Discord/Mattermost like webhooks? #65

Open
poVoq opened this issue Jun 3, 2021 · 2 comments
Open

Slack/Discord/Mattermost like webhooks? #65

poVoq opened this issue Jun 3, 2021 · 2 comments

Comments

@poVoq
Copy link

poVoq commented Jun 3, 2021

Lots of projects support slack-like webhooks, maybe a good idea to support these to get notifications into IRC that way?

@fleaz
Copy link
Owner

fleaz commented Jun 7, 2021

Hey,
are "slack-like webhooks" some kind of standardized json body structure and is this documented somewhere?
But if so, this sounds like a good thing to implement :)

@poVoq
Copy link
Author

poVoq commented Jun 7, 2021

I guess: https://api.slack.com/messaging/webhooks

For the reverse (sending webhooks to Slack) there are multiple Go libraries, but it seems like a fairly standard json webhook where one just needs to make sure the right formatting is understood.

Anyways cool that you are considering this. My personal usecase would be a Flarum forum, which has an extension to send notifications to Slack/Discord etc. but we really only use IRC (and XMPP) in our community.

P.S.: The Discord webhook format* is apparently very similar to the Slack one, and Mattermost for example uses an identical webhook formatting to be compatible with Slack.

https://discord.com/developers/docs/resources/webhook

@poVoq poVoq changed the title Slack like webhooks? Slack/Discord/Mattermost like webhooks? Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants