Skip to content

v0.4.0

Compare
Choose a tag to compare
@parafoxia parafoxia released this 07 Jan 00:21
· 12 commits to main since this release

Breaking changes

  • YouTubeBot.token is now YouTubeBot.api_key
  • YouTubeBot.oauth_tokens is now YouTubeBot.tokens

The YouTubeBot.authorise method still performs the same task as before, but now works out when to refresh tokens, etc.

Additions

  • Token refreshing! Chatto will now refresh your access token both on startup, and while running
  • A ReadyEvent is now dispatched when the bot is ready to start polling

Fixes

  • Failures in sending messages now raise a chatto.errors.HTTPError