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

Feature: custom webhooks #1479

Open
Tolfx opened this issue Jan 20, 2023 · 2 comments
Open

Feature: custom webhooks #1479

Tolfx opened this issue Jan 20, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Tolfx
Copy link
Collaborator

Tolfx commented Jan 20, 2023

Is your feature request related to a problem? Please describe.
We currently only have discord webhooks, but as a developer I might want to attach webhooks for custom services that I'm running for various of tasks.

Describe the feature you'd like
Just like discord but instead of only discord webhooks I can also add custom urls that will receive webhooks with JSON data of the event that happened.

@Tolfx Tolfx added the enhancement New feature or request label Jan 20, 2023
@Tolfx Tolfx self-assigned this Jan 24, 2023
Tolfx added a commit that referenced this issue Jan 27, 2023
Tolfx added a commit that referenced this issue Jan 27, 2023
Tolfx added a commit that referenced this issue Jan 27, 2023
Tolfx added a commit that referenced this issue Jan 27, 2023
Tolfx added a commit that referenced this issue Jan 27, 2023
Tolfx added a commit that referenced this issue Feb 2, 2023
Tolfx added a commit that referenced this issue Feb 2, 2023
@Preport
Copy link
Member

Preport commented Jul 30, 2023

I don't think there's anything stopping you from plugging in any url into the webhooks.
Just make an endpoint that accepts POST requests and put that in to your autobot options.

You should now receive json data on your server in this format.

@Tolfx
Copy link
Collaborator Author

Tolfx commented Jul 30, 2023

I don't think there's anything stopping you from plugging in any url into the webhooks.
Just make an endpoint that accepts POST requests and put that in to your autobot options.

You should now receive json data on your server in this format.

I've already made a fork for this feature, in principle is very simple yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants