0.11.1
Command Arguments
-> Renamed Command.args
to Command.argParser
and make Command.args
a setter
-> Added positional argument support
--> {type: [{name: 'arg1'}, {name: 'arg2', consume: true}]}
-> Added choices
parameter
-> Added required
parameter
-> Added help
parameter
--> A parameter failing to be inside choices or is required but isn't passed in will use this value as the error message
-> Cache subsequent Command.names
calls (performance fix)
Add typings for once
and subscribe
on Client Objects
-> They're now properly typed like the on
listener
Differences Fixes
-> Fix guildMemberUpdate
always having {roles}
in the differences object
-> guildMemberUpdate
can have a null differences
, often, because it might be a user update that was announced via usersUpdate
-> messageUpdate
, attachments
, embeds
, mentions
should have better checks for being in the differences params
Markup Tools
-> Fix codestring escaping
-> Add link escaping
Embed Helper
-> Fix Embed.size
not counting author name
Guild Structure
-> Added permissions_new
MessageActivity Structure
-> Added activity
getter, to get the related activity to the invite
MessageEmbed Structure
-> Add MessageEmbed.size
and MessageEmbed.length
Message Structure
-> Add Message.mentionHere
(Checks to see if Message.mentionEveryone
is from @here
)
-> Add better difference
checking (for messageUpdate
listeners)
Overwrite Structure
-> Added allow_new
, deny_new
Role Structure
-> Added permissions_new
Voice State Structure
-> Added mute
property (forgot this a long time ago apparently)
Events
PRESENCE_UPDATE
-> No longer diff the entire presence if onlyUSERS_UPDATE
is being listened to
-> Don't checkhasDifference
based off activity id since it could becustom
orspotify:1
which won't make it unique