github bwmarrin/discordgo v0.12.0
v0.12.0 Release

latest releases: v0.28.1, v0.28.0, v0.24.2...
8 years ago

Notices

Checkout the commit history and the milestone tracker for full change history.

Breaking Changes

  • Raw OnEvent event now always fires and includes both the raw json data and any unmarshalled struct, if available, this can be used for many things including better logging or debugging. #156 974ed74 836e78d
  • VoiceChannelJoin now blocks until a connection is open or fails. The function now returns an error value that must be checked. You no longer need to have additional code to wait for the voice connection. 7ec5304
  • UDPConn variable on Voice connections is no longer exported 3ffbbdc
  • OP2 variable on Voice connections is no longer exported cab4964

Enhancements

  • Support user guild settings update event #130
  • Ready events now also fire even after a unmarshalling error #131
  • Added support for setting guild region and verification level #132 #136
  • Voice now uses encryption instead of plain communication #133
  • Discordgo logo is now transparent! #134
  • UserChannelPermissions function added that provides the user permissions for a specific channel #140
  • Added multi-guild voice support #141
  • Changed all fmt.Print logging to log.Print #155
    #156
  • State performance fixes and other improvements #157 #158 #159 #160
  • Support for Guild lazy loading #161
  • Added Oauth2 functions for creating user applications and bot accounts. See oauth2.go
  • Added Event for Voice Speaking Updates 584b06a
  • Added initial support for PresenseReplace events 6e56853

Bugs

  • Fixed a bug in voice connections where it would attempt to open a connection before all information was received. 7bbcfe7

Don't miss a new discordgo release

NewReleases is sending notifications on new releases.