Releases
9.1.0
Additions
Collection
and Shard
exports for external use (799054d )
Collection.some/every
, and improved .filter/map
(594836b )
Client.emojis
(bcab880 )
Client.status
to get the websocket status (6dfe160 )
ClientOptions/MessageOptions.disable_everyone
to prevent accidental mentions (3b7d5e8 )
ClientUser.setStatus
streaming URL parameter (db9d5b8 )
TextBasedChannel.fetchMessage
to fetch a single message (48e7fad )
TextBasedChannel.sendFile
content
parameter (9888cef )
TextBasedChannel.sendMessage
and Message.edit
with arrays for the content (automatically joined with newlines) (9f0db9d , f328640 )
Message.cleanContent
with mentions replaced by plain text (9bef99c , bbc9df0 )
Message.isMentioned
(bf3c283 )
Message.edits
with a history of all edits (17bee80 )
MessageEmbedAuthor
(bd113ee )
Guild.fetchMember
to retrieve a single guild member (user must be cached first) (c7b4cf3 , 465ff07 )
Guild.defaultChannel
(9bdf670 )
Guild.ban
to ban a non-member (9d694d2 )
Guild.createRole
data
parameter to create a role and immediately update it with the given data (e1bda86 )
GuildMember.addRole/addRoles/removeRole/removeRoles
(dc7b070 )
GuildMember.permissions
and GuildMember.hasPermission
for the permissions of a member with their roles only (57acd4f )
Channel/Emoji/Guild/Role/User.creationDate
(943767d , 7fea0a3 )
StreamOptions
for various voice methods (f7a542f )
Improved ShardingManager
(2c6b804 )
Made the client
property on most structures non-enumerable, so it won't display in console.log
or util.inspect
Loads of internal organisation and cleanup
Lots of documentation updates
Fixes
fetch_all_members
doesn't work for newly joined guilds (b9caa2e )
max_message_cache
default doesn't match the docs (7fe032c )
User.bot
is inaccurate (#657 , 85fae72 )
User.game
is not reset when a user stops playing (#666 , dbaaa8d )
Role.edit
always throws an error (ab4707f )
@everyone
permission overwrites not being taken into account (978cf9d )
Potential issue when guild members are updated (8f04fae )
EPIPE error when skipping songs (#635 , 47a164b )
Handle WS error events silently (#607 , dd62389 )
You can’t perform that action at this time.