v0.4.0
Breaking changes
YouTubeBot.token
is nowYouTubeBot.api_key
YouTubeBot.oauth_tokens
is nowYouTubeBot.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