Skip to content

Instantly share code, notes, and snippets.

@Rapptz
Last active November 29, 2015 00:32
Show Gist options
  • Save Rapptz/56129960440edf25bbb5 to your computer and use it in GitHub Desktop.
Save Rapptz/56129960440edf25bbb5 to your computer and use it in GitHub Desktop.

Breaking changes from v0.8.0 to v0.9.0:

  • All HTTP requests now throw exceptions.
  • send_message no longer takes in a string ID for destination.
    • Use discord.Object(id='...') instead.
  • discord.InvalidEventName is removed
  • discord.InvalidDestination is renamed to discord.ClientException
  • on_server_create was renamed to on_server_join
  • on_server_delete was renamed to on_server_remove
  • A lot of the factory methods in discord.Colour were renamed.
  • Server.afk_channel_id is removed.
    • Use Server.afk_channel instead.
  • Member.roles now has the @everyone as the first element and is therefore never empty (in theory...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment