0.14.1
-
Update Command Parser for positional arguments
-> Added ability to skip the parse, incase you wanted the attachment or something
--> Returning [true, anyValue] for a positional argument type will skip it -
Fixed CommandClient not populating the mention prefixes on startup when using ClusterClient
-> it will now check if the mentions are enabled and the mentions arent populated every time a command is executed -
Update
Structure
-> Add.differencesBetween(Structure)
which will give you differences between two structures (Useful for cloned objects)
-> Add.hasDifference(key, value)
-> Add.hasDifferences(rawObject)
-> Add.hasDifferencesBetween(BaseStructure)
-
Update
BaseStructure
-> Add.clone()
which will clone the object
-> Add.isClone
property
-> Updated difference checking to be more efficient -
Update
_UPDATE
Events
->CHANNEL_UPDATE
--> Add old channel object under{old, ...payload}
-> OverhaulGUILD_EMOJIS_UPDATE
--> Update differences in payload{differences: {created, deleted, updated}, ...payload}
--->created
is aBaseCollection
made up ofEmoji
s
--->deleted
is aBaseCollection
made up ofEmoji
s
--->updated
is aBaseCollection
made up of{emoji: Emoji, old: Emoji}
->GUILD_MEMBER_UPDATE
--> Add old member object under{old, ...payload}
->GUILD_ROLE_UPDATE
--> Add old role object under{old, ...payload}
->GUILD_UPDATE
--> Add old guild object under{old, ...payload}
->MESSAGE_UPDATE
--> Add old message object under{old, ...payload}
->PRESENCE_UPDATE
--> Add old presence object under{old, ...payload}
->USER_UPDATE
--> Add old user object under{old, ...payload}
->USERS_UPDATE
--> Add old user object under{old, ...payload}
-
Updated
Channel
-> AddedChannel.rtcRegion
(for voice channels) -
Updated
Invite
-> MadeInvite.channel
type always available -
Updated
Message
-> MadeMessage._reactions
andMessage._stickers
not enumerable -
Update
Role
-> AddRole.editPosition(number, {reason})