This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
2.0.0
Major
discord.io
now works in the browser and Node, with no tools!CJOpus
Emscripten libopus bindings sonode-opus
isn't required, still a WIP.new DiscordClient
removed, please usenew Discord.Client
- Inline documentation (JSDoc)
discord.io
update notification removed- Logging in with username & password removed
Role#color_values
moved toDiscord.Colors
Channel#permission_overwrites
changed toChannel#permissions
alongside structural changes.- Channel permission editing introduced.
- Deprecated
disconnected
event removed, please usedisconnect
.
Methods
editChannelPermissions
added.getAudioContext
now uses(error, stream)
as callback arguments.listBans
renamed togetBans
.listServerInvites
renamed togetServerInvites
.listChannelInvites
renamed togetChannelInvites
.serverFromChannel
removed.setGlobalRequestDelay
removed.setPresence
'sgame
property is now an Object that takesname
,type
andurl
.
Minor
- "Using [Encoder]" removed
- Typings temporarily removed until someone wants to PR them for the new methods.
- Fixed
typing
bug insendMessage
- Fixed editing servers
- Added TEXT_EXTERNAL_EMOJIS permission.
- WebSocket title emitter algorithm changed.
large_threshold
raisedd back to 250.- Use
zlib.gunzip
instead ofzlib.gunzipSync
for older Node versions - Fix crash when bot is removed from servers
- Fix WebSocket
send
method.