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

Webhook event support #10039

Open
gingershaped opened this issue Dec 10, 2024 · 1 comment
Open

Webhook event support #10039

gingershaped opened this issue Dec 10, 2024 · 1 comment
Labels
feature request This is a feature request.

Comments

@gingershaped
Copy link

gingershaped commented Dec 10, 2024

Summary

The library should support Discord's outgoing HTTP webhook system.

What is the feature request for?

The core library

The Problem

Discord recently added support for events sent through a HTTP webhook, a system which is not presently supported by this library; this webhook is currently the only way to receive events for an app being authorized, and more events may be added that are exclusive to it in the future.

The Ideal Solution

This library should support running a HTTP server that can listen to events from this webhook, reply to pings, and dispatch events received through an idiomatic interface. This could either be added as its own independent class or as extra functionality in Client.

The Current Solution

Apps that want to listen to these events must write their own handlers and handle running an HTTP server themselves.

@gingershaped gingershaped added the feature request This is a feature request. label Dec 10, 2024
@MCausc78
Copy link
Contributor

HTTP interactions already were rejected before, so webhook events will be rejected too. discord.py heavily depends on cache and gateway so this is unlikely to happen.

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

No branches or pull requests

2 participants