Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Releases: tguichaoua/discord-bot-cli

6.1.2

16 Nov 14:12
f85ca96
Compare
Choose a tag to compare

Fixes

  • Command : throttler checking order (#156)

v6.1.1...v6.1.2

6.1.1

06 Nov 10:50
5e602ee
Compare
Choose a tag to compare

Fixes

  • fix typescript building (#153)

v6.1.0...v6.1.1

6.1.0

05 Nov 15:08
568c549
Compare
Choose a tag to compare

Features

  • cli: create command path options (#150)

v6.0.1...v6.1.0

6.0.1

27 Aug 09:21
Compare
Choose a tag to compare

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.1

23 Aug 09:30
Compare
Choose a tag to compare

Fixes

  • fix ParseOptions type export (#125)

v5.3.0...v5.3.1

5.3.0

18 Aug 16:10
0d691bc
Compare
Choose a tag to compare

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

15 Jul 17:08
9c2aa77
Compare
Choose a tag to compare

Fix

  • fix: Logger raise an error when trying to log an error because the this was not binded. (#105)

5.2.0

13 Jul 17:10
eab83c5
Compare
Choose a tag to compare

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

01 Jul 17:04
b399739
Compare
Choose a tag to compare

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

14 Jun 18:55
1c8dd9a
Compare
Choose a tag to compare

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)