Download Latest Version 2.4.0 source code.tar.gz (68.9 kB)
Email in envelope

Get an email when there's a new version of discord.io

Home / v1.12.0
Name Modified Size InfoDownloads / Week
Parent folder
1.12.0 source code.tar.gz 2016-06-05 58.8 kB
1.12.0 source code.zip 2016-06-05 63.0 kB
README.md 2016-06-05 990 Bytes
Totals: 3 Items   122.7 kB 0

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:

    :::js 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.
Source: README.md, updated 2016-06-05