7.4.0
The indev
branch has been deleted, instead master
will be now where all the development takes place.
The current NPM version will instead be on the stable
branch.
Documentation have also been moved to the gh-pages
branch.
The tutorials have been rewritten and moved to GitBooks.
Master documentation is now available here.
Additions
-
Added
AkairoClient#loadAll
, meant for extending the client and adding new handlers. -
Added
TypeResolver#type
, meant for getting types in a cleaner way. -
MessageOptions#content
is now allowed forCommandUtil
methods. -
Exposed previous input for ongoing infinite prompt args.
Changes
-
Discord.js version ^11.1.0 is now required.
-
AkairoClient#build()
no longer callsloadAll()
on the handlers. -
ClientUtil#promptIn
will now attempt to create a DM channel for users if there was not one. -
Changed to
has
fromhasPermissions
for permission checks.clientPermissions
anduserPermissions
can now be a single permission string or number.
-
Prefix overwrites now cannot be empty strings, this would cause problems before anyways.
-
Deprecated several
ClientUtil
methods now available in Discord.js v11.1.displayRole
, useGuildMember#colorRole
.displayColor
, useGuildMember#displayColor
.displayHexColor
, useGuildMember#displayHexColor
.hoistRole
, useGuildMember#hoistRole
.fetchMessage
, useTextBasedChannel#fetchMessage
.
-
Deprecated
CommandUtil#send
aliases.CommandUtil#sendMessage
.CommandUtil#sendCode
.CommandUtil#sendEmbed
.
Fixes
-
Fixed removing commands deleting still-existing prefix overwrites.
-
Fixed
ClientUtil
permissions-related methods for Discord.js 11.1.0. -
Fixed missing
color
type in docs. -
Argument type
color
no longer internally creates a RichEmbed each time. -
Fixed TypeScript files and default exports not being loaded.
-
Minor performance improvements.