Releases: tguichaoua/discord-bot-cli
Releases · tguichaoua/discord-bot-cli
6.0.1
Breaking
- add customization for command help (check out the wiki) (#120)
- bump peer dependency
discord.js
to ^12.3.0
(#122)
- change architecture of many files (including HelpUtils, ListUtils and Logger) (#124)
- rename
ParseOptions
into CommandSetOptions
(#128)
v5.3.1...v6.0.1
5.3.0
Features
- Help display : usage section is not display if the command's executor is undefined. (#111)
- Help display: sub commands are not displayed if the user have not required permissions. (#111)
Fixes
- Fix/Update some doc (#113)
5.2.1
Fix
- fix:
Logger
raise an error when trying to log an error because the this
was not binded. (#105)
5.2.0
Features
- Add an optionnal parameter to
CommandSet#loadCommands
to also load .cmd.ts
file. Usefull if you use ts-node
. (#85)
ParseOptions#skipDevsPermissionsChecking
: a flag to determine if a dev can bypass the permissions checking. (#89)
- In the command executor the
Message#channel
field type exclude DMChannel if guildOnly is set to true. (#90)
CommandDefinition#userPermissions
: an array of permissions the user must have to executed the command. (#92)
Changes
- Move all
@types/
dependencies into dev dependencies. (#80)
- The argument usage hint in default help is not displayed if there is no arguments. (#94)
- Logging has been improved with color. (#98)
Fixes
- Fix the JS command template export. (#84)
5.1.0
Features
- Build-in help and list commands will not display command that the
canUse
handler not return true
. (#67)
- A command can define a list of permissions required to perform its action. (#68)
5.0.0
Features
- Type union: argument, flags and rest's type can be a union (#50)
- The rest argument have a
type
property to define how rest must be parsed. (#54)
- Command throttling: limit the usage of a specific command (#56, #62)
Changes
- Default embed help have an instruction to explain difference between optional and required argument (#55)
Command
object is passed to the executor. (#58)