Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

1.12.0

Compare
Choose a tag to compare
@izy521 izy521 released this 05 Jun 23:41
· 413 commits to master since this release

Major:

  • Switch to Gateway v5. Possible side effects, none immediately visible.
  • Created some variables on Client construction (presenceStatus, connected, inviteURL)
  • The library will no longer log Gateway Websocket Disconnected: ${code}. Use the disconnect event:
client.on('disconnect', function(errMsg, code) {});
  • members object created in channel constructor.
  • (Pull Request #69 (hue) ) Fix Client#fixMessage's resolving of channels
  • (Pull Request #71 ) Handle incoming audio only if listener exists

Minor:

  • Library version information moved outside of Client constructor.
  • Introduction of error messages for application-specific WebSocket disconnection codes (4000 - 4999).
  • ffmpeg.js example updated to use token instead of email & password.
  • mp3.js example updated to use token instead of email & password.
  • (Pull Request #70) Logos! Thanks to the talented @Adryd, discord.io now has a logo image thing. Orientation may change.