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

Add reason to EventSub onRevoke event #550

Closed
theca11 opened this issue Feb 14, 2024 · 0 comments
Closed

Add reason to EventSub onRevoke event #550

theca11 opened this issue Feb 14, 2024 · 0 comments
Labels

Comments

@theca11
Copy link
Contributor

theca11 commented Feb 14, 2024

Feature Request

EventSub revocation messages arrive with a status field that indicates the reason for revoking. This reason isn't currently provided in the onRevoke event, and it would be nice to have it (onRevoke((subscription, reason) => { /* ... */ }))

I think it's a nice addition for all cases, but especially for EventSubWs since onUserAuthorizationRevoke isn't available for the websockets transport and this way at least we have some feedback about the revocation.

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

No branches or pull requests

1 participant