You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, it doesn't have support for "announcement" type events yet, and I will not be doing maint to add support in the next few months (sorry). If you feel like it, you could try patching support in (shouldn't be too hard), or just ignore try / except the errors out. If you do submit a PR I'll merge it and push a pypi release.
It's now possible to add an own listener function with the name on_announcement_reaction to react on this event. To manage unknown events (that can happen with any new mastodon instance version), you can override on_unknown_event and handle it on your way.
Alternatively, a callback function can be passed in the unknown_event_handler parameter in the CallbackStreamListener constructor.
Before we release it, maybe you can test it from the current source. This means, you should download the sources and install Mastodon.py locally:
I get errors for announcment reactions in a UserListener:
I tried upgrading Mastodon.py, but the error seems not to be fixed in the latest release on pypi.
The text was updated successfully, but these errors were encountered: