Teekeks / pyTwitchAPI

A Python 3.7 compatible implementation of the Twitch API, EventSub, PubSub and Chat
https://pytwitchapi.dev
MIT License
256 stars 38 forks source link

Add optional callback for "authorization_revoked" and "user_removed" events #89

Closed Teekeks closed 1 year ago

Teekeks commented 3 years ago

If a webhook gets unauthorized during runtime or a targeted user gets deleted, it currently only fired the normal callback set for that registered event.

Add a option to register a callback which gets called for all of those events.