Advanced-Command-Handler

This is an Advanced Command Handler that uses classes for commands.

MIT License

Stars
33
Committers
10

Bot releases are hidden (Show)

Advanced-Command-Handler - v3.1.0 Latest Release

Published by Ayfri about 3 years ago

๐Ÿ“† 16.09.2021 ๐Ÿท๏ธ 3.1.0 ๐Ÿ’พ 18D91CF ๐Ÿš€ 23 โ™ป๏ธ 4 โœ๏ธ 5 ๐Ÿ‘ฅ 1

This release brings support to Discord.js v13, arguments for functions options when setting default commands & events.

๐Ÿš€ New Features

3171882 feat: Add Argument class and types. (@Ayfri)
f4b0018 feat: Add argument errors to CommandErrorType. (@Ayfri)
a6d0a35 feat: Add argument functions. (@Ayfri)
4234c15 feat: Add argument methods to CommandContext & SubCommandContext. (@Ayfri)
e286b6e feat: Add ARGUMENT_NOT_FOUND & BAD_ARGUMENT CommandErrorTypes. (@Ayfri)
bafdfef feat: Add arguments property in Command & SubCommand classes. (@Ayfri)
b72e0f7 feat: Add channelOnly & threadOnly tags. (@Ayfri)
ff3f837 feat: Add check function to Tag. (@Ayfri)
b38c02b feat: Add DefaultCommandOptions, can exclude default commands. (@Ayfri)
864b758 feat: Add DefaultEventsOptions, can exclude events. (@Ayfri)
35f118a feat: Add the getter isSkipable to CommandArgument class. (@Ayfri)
cb95a67 feat: Add global tags. (@Ayfri)
ee294a2 feat: Add HelpOptions, can exclude commands, auto-delete message, use list of commands instead of list of categories. (@Ayfri)
ec60c77 feat: Add isSnowflake util function. (@Ayfri)
8398b53 feat: Add MaybePromise util type. (@Ayfri)
005e860, 0a69103 feat: Add MessageCreateOptions, can explicitly exclude or not bot, explicitly send code errors or not & only when owner or not, set global tags. (@Ayfri)
ad004a6 feat: Add possibility to get messages with canary and ptb links and to get guilds with mention. (@Ayfri)
44c01ed feat: Add searching with text literal mention for getThing function. (@Ayfri)
38b1472, 0d0389c feat: Add signature & signatures functions to Command class. (@Ayfri)
9485124 feat: Add TEXT_CHANNEL DataType for getThing function. (@Ayfri)
ad81df2 feat: Add threads-related methods to CommandContext class. (@Ayfri)
c66ce3e feat: Handle new error types to default messageCreate event. (@Ayfri)
d868480 feat: Use signature(s) methods in default help command. (@Ayfri)
a23676b feat: Use signatures method in argError if no usage set. (@Ayfri)

โ™ป๏ธ Refactors

2fb1ce8 refactor!: Rename args property to rawArgs in CommandContext, add a deprecated getter for compatibility. (@Ayfri)
ffc8d6d refactor: Rename default 'message' event to 'messageCreate'. (@Ayfri)
9b1c4e5 refactor: Rename MessageEvent class to MessageCreateEvent, set filename to same name. (@Ayfri)
05039b9 refactor: Use arguments for default help command. (@Ayfri)

โœ๏ธ Chores

8189ca2 chore: Add argumentorum parser library. (@Ayfri)
64f1443 chore: Bump minimum required Node.js version to 16.6. (@Ayfri)
c7a44d2 chore: Update discord.js to V13. (@Ayfri)
6dc37df chore: Update discord.js-better-embed to 1.3.0. (@Ayfri)
b215571 chore: Update typescript to 4.4. (@Ayfri)

๐Ÿ‘ฅ Contributors

  • @Ayfri
Advanced-Command-Handler - v3.0.0

Published by Ayfri about 3 years ago

๐Ÿ“† 08.08.2021 ๐Ÿท๏ธ 3.0.0 ๐Ÿ’พ EF2693A ๐Ÿš€ 20 ๐Ÿ› 4 โ™ป๏ธ 10 โœ๏ธ 1 ๐Ÿ‘ฅ 2

The biggest update ever for this project is now done !
I know it's still using discord.js v12, but I will update to v13 for 3.1, don't worry, it should be quicker to come.

There is a complete guide for migrating your code here.

This version changes how commands & events are created, now you have to use classes, letting you customize more and letting the library handle more complex features and behavior without having a catchy syntax.
It now also uses XContext classes to avoid having a lot of parameters and just having 1 containing everything you need plus some useful getters/setters.
The tests are now more precises and use approximately all the features available (at least the important ones).

Thanks to everyone using this library !
You can see me on Twitch developing my projects ^o^/

๐Ÿš€ New Features

5ea118b feat: Add loadEvent function. (@Ayfri)
b1925c4 feat: Add ability to save logs in files. (@Ayfri)
ed6421c feat: Add CommandError class. (@Ayfri)
6b9b721, 88cbc76 feat: Add default help command. (@Ayfri)
3514515, 1cc8b1f, 9e3f745, 6b9df26, b0ed627, 84907c5, 5e1b68b, 0efe4e8 feat: Add EventContext & CommandContext. (@Ayfri)
3877b40 feat: Add getCommandAliasesAndNames & findCommand functions into CommandHandler namespace. (@Ayfri)
c7592ca feat: Add ImageCommand class. (@Ayfri)
fdde666 feat: Add LaunchCommandHandlerOptions argmument in launch event. (@Ayfri)
019a5c2 feat: Add Logger.LEVEL property to only log certain levels. (@Ayfri)
45b72db, 8491eaf feat: Add Logging titles ignores. (@Ayfri)
d20d997 feat: Add nameAndAliases in Command class. (@Ayfri)
42054c0 feat: Add presence & cycling presences options when launching the CommandHandler. (@Ayfri)
48a4f4d feat: Add SlowCommand class. (@Ayfri)
f4465d6 feat: Add SubCommands and validation methods for commands. (@Ayfri)
1816359 feat: Add unloadCommand & unloadEvent functions to CommandHandler. (@Ayfri)
db3654e feat: Add useful getters to AdvancedClient. (@Ayfri)
28af5e2 feat: Add useMentionAsPrefix property to CreateCommandHandlerOptions. (@Ayfri)
0c00a7f feat: Improve saveJSON typings and logging errors. (@Ayfri)
ef8d61e feat: Simplify types for events. (@Ayfri)
b319c28 feat(readme): Add information about the version of Discord.js and the features available. (@Ayfri)

๐Ÿ› Bug fixes

e4c45e1 fix: Fix dayjs format for Logger. (@Ayfri)
10902cc fix: Fix loading default commands showing commands name. (@Ayfri)
5ce8d4e fix: Fix logging of objects. (@Ayfri)
937347a fix: Fix typo in default ping command. (@Ayfri)

โ™ป๏ธ Refactors

00d88cb refactor: Improve typings of getThing. (@Ayfri)
8d12f42 refactor: Move Logger.propertyInEnum to external function. (@Ayfri)
38dfaba refactor: Remove AdvancedClient#hasPermission function. (@Ayfri)
e07220e refactor!: Rename Log type test to debug.
db81108 refactor: Rename permissionError file to permissionUtils. (@Ayfri)
8fcefd1 refactor!: Remove Logger.logComments, use Logger.LogLevel instead.
b79ecce refactor!: Update DeleteMessageOptions interface with new Discord API.
ae07707 refactor!: Use a more approriate name for functions to use defaults.
e1a7c05 refactor: Use CommandContext for errors functions. (@Ayfri)
610cf27 refactor: Use index.ts files for every folders. (@Ayfri)

โœ๏ธ Chores

67b5dd3, ef57b01 chore: Use better tsconfig. (@Ayfri)

๐Ÿ‘ฅ Contributors

  • @Ayfri
  • @fantomitechno
Advanced-Command-Handler - v3.0.0-beta.4

Published by Ayfri about 3 years ago

๐Ÿ“† 25.07.2021 ๐Ÿท๏ธ 3.0.0-beta.4 ๐Ÿ’พ 230740A ๐Ÿš€ 1 ๐Ÿ› 1 ๐Ÿ“š 1 โ™ป๏ธ 3

๐Ÿš€ New Features

  • 6B9DF26 feat: Add sendGlobalHelpMessage & sendHelpMessage into CommandContext class. (@Ayfri)

๐Ÿ› Bug fixes

๐Ÿ“š Documentation

  • 3974C34 docs: Add links to guide. (@Ayfri)

โ™ป๏ธ Refactors

  • 6C81320 refactor: Change guide link to new guide. (@Ayfri)
  • 942DE31 refactor: Remove and ignore .vscode. (@Ayfri)
  • EA1CB14 refactor: Set the methods for the help menus from the HelpCommand class as static. (@Ayfri)
Advanced-Command-Handler - v3.0.0-beta.3

Published by Ayfri over 3 years ago

๐Ÿ“† 21.07.2021 ๐Ÿท๏ธ 3.0.0-beta.3 ๐Ÿ’พ 1DE583B ๐Ÿš€ 2 ๐Ÿ› 1 โ™ป๏ธ 2

๐Ÿš€ New Features

  • 5EA118B feat: Add loadEvent function, some refactorings. (@Ayfri)
  • 0EFE4E8 feat: Add textChannel getter in CommandContext class. (@Ayfri)

๐Ÿ› Bug fixes

โ™ป๏ธ Refactors

  • F33A528 refactor: Simplify package.json of tests. (@Ayfri)
  • 096AB9C refactor: Simplify types, fix little types issues. (@Ayfri)
Advanced-Command-Handler - v3.0.0-beta.2

Published by Ayfri over 3 years ago

๐Ÿ“† 15.07.2021 ๐Ÿท๏ธ 3.0.0.beta.2 ๐Ÿ’พ 93CA377 ๐Ÿš€ 1 ๐Ÿ› 4 โ™ป๏ธ 1

This beta fixes a lot of problems and should more stable and more usable.

๐Ÿš€ New Features

  • 88CBC76 feat(help): Add information on weather can you use the command or not in help <command>. (@Ayfri)

๐Ÿ› Bug fixes

  • 5E8DB3D fix: Fix event run method types. (@Ayfri)
  • 8964B65 fix: Fix event run method typings for events without arguments. (@Ayfri)
  • 1C6DCCE fix: Fix exporting types & types directory. (@Ayfri)
  • 4F93100 fix: Support simple exports for commands & events. (@Ayfri)

โ™ป๏ธ Refactors

  • 22A294C refactor: Remove validation of commands in help menu in default 'help' command. (@Ayfri)
Advanced-Command-Handler - v3.0.0-beta.1

Published by Ayfri over 3 years ago

This beta fixes some issues with typings.

Changelog

๐Ÿ› Bug fixes

  • 5E8DB3D fix: Fix event 'run' method types. (@Ayfri)
  • 8964B65 fix: Fix event 'run' method typings for events without arguments. (@Ayfri)
  • 1C6DCCE fix: Fix exporting types & types directory. (@Ayfri)
Advanced-Command-Handler - v3.0.0-beta.0

Published by Ayfri over 3 years ago

๐Ÿ“† 07.07.2021 ๐Ÿท๏ธ 3.0.0.beta.0 ๐Ÿ’พ FEA397F ๐Ÿ‘ฅ 2

This is a very big release including a lot of changes, and you will need to rewrite a lot of your code to have it working on v3.
There is a guide to update your code here.

๐Ÿš€ New Features

Logger

  • b1925c4 feat: Add ability to save logs into files. (@Ayfri)
  • 019a5c2 feat: Add Logger.LEVEL property to only log certain levels. (@Ayfri)
  • 45b72db feat: Add Logging title ignores. (@Ayfri)
  • 8491eaf feat: Ignoring logs can now be defined with title and levels. (@Ayfri)

Commands

  • af3eea4 feat: Add any type to Command & SubCommand run method. (@Ayfri)
  • 3514515, 9e3f745, 84907c5 feat: Add CommandContext. (@Ayfri)
  • ed6421c feat: Add CommandError class. (@Ayfri)
  • 6b9b721 feat: Add default help command. (@Ayfri)
  • c7592ca feat: Add ImageCommand class. (@Ayfri)
  • d20d997 feat: Add nameAndAliases in Command class. (@Ayfri)
  • 48a4f4d feat: Add SlowCommand class. (@Ayfri)
  • f4465d6, 83c50ad feat: Add SubCommands and validation methods for commands. (@Ayfri)
  • b0ed627 feat: Add useful reaction methods to CommandContext. (@fantomitechno)

CommandHandler

  • 3877b40 feat: Add getCommandAliasesAndNames & findCommand functions into CommandHandler namespace. (@Ayfri)
  • fdde666 feat: Add LaunchCommandHandlerOptions in launch event. (@Ayfri)
  • 1816359 feat: Add unloadCommand & unloadEvent functions into CommandHandler namespace. (@Ayfri)

Others

  • 8a748df feat: Activate duration plugin for dayjs. (@Ayfri)
  • 3514515 feat: Add EventContext. (@Ayfri)
  • db3654e feat: Add useful getters to AdvancedClient. (@Ayfri)
  • 1cc8b1f feat: Improve `EventContext, add some getters. (@Ayfri)
  • ef8d61e feat: Simplify types for events. (@Ayfri)

๐Ÿ› Bug fixes

  • e0c5932 fix: Export types.ts. (@Ayfri)
  • 901a84b fix: Fix command category when loading commands. (@Ayfri)
  • e4c45e1 fix: Fix dayjs format for Logger. (@Ayfri)
  • d1f1f0f fix: Fix documentation on cooldowns. (@Ayfri)
  • 10902cc fix: Fix loading default commands showing commands name. (@Ayfri)
  • 745a4ba fix: Fix types for getThing & JSON. (@Ayfri)
  • 937347a fix: Fix typo in default ping command. (@Ayfri)
  • df44a54 fix: Remove debugging message in default message event. (@Ayfri)

๐ŸŽจ Styles

  • e4bbe0b style: Change prettier configuration for shorter lines. (@Ayfri)
  • 1ad8190 style: Improve prettier script file selection. (@Ayfri)
  • e12c183 style: Use a stricter ESLint configuration for TSDoc. (@Ayfri)

โ™ป๏ธ Refactors

  • 00d88cb refactor: Improve typings of getThing function, fix some typos. (@Ayfri)
  • eff3c03 refactor: Move CommandHandlerError class into classes folder. (@Ayfri)
  • db81108 refactor: Rename permissionError file to permissionUtils, move hasPermission to permissionUtils. (@Ayfri)
  • 610cf27 refactor: Use index.ts files for every folder. (@Ayfri)

โœ๏ธ Chores

  • 3b7f58d chore(deps): Bump Typescript to 4.3, bump dayjs to 1.10.5. (@Ayfri)
  • ef57b01, 67b5dd3 chore: Remove useless properties in tsconfig, add noImplicitOverride rule. (@Ayfri)

๐Ÿ‘ฅ Contributors

  • @Ayfri
  • @fantomitechno
Advanced-Command-Handler - v2.4.0

Published by Ayfri over 3 years ago

This release moves all the code for generating documentation into another repo.
It also adds the last features before v3 :)

Changelog

  • Added JSONUtils (safe save, safe load). (a71973b)
  • Added missing export for codeError. (0ea2d26)
  • Added more TSDoc in CommandHandler namespace. (a831273)
  • Added support for string version of tags in types. (4ef5198) (821ce7b)
  • Cooldown functions in Command class now accept different types. (1099163)
  • Fixed conflicts. (b379c4f)
  • Fixed docs. (4acf18c) (0d8f3ed)
  • Fixed typo on dependency name. (f122acc)
  • Improved documentation in many places. (b49eb34)
  • Improved loading code. (02f2f83)
  • IsInRightChannel method now accepts TextChannel as argument. (cce9113)
  • Now using string version of tags in default ping command. (0756012)
  • Removed documentation as now in another repo. (c44c822)
  • Removed package-lock, added to .gitignore. (24f5a65)
  • Removed unused function. (e65626b)
  • Removed useless overloads. (74e4a83)
  • Simplified a lot generating documentation as everything has moved into another repo. (789da55)
  • Updated all dependencies. (515a0db)
  • Updated readme with the new organization. (2440e7e)

Dependencies

@types/node: 14.14.21 => 14.14.22
@typescript-eslint/eslint-plugin: 4.14.0 => 4.14.2
@typescript-eslint/parser: 4.14.0 => 4.14.2
eslint: 7.18.0 => 7.19.0
eslint-plugin-jsdoc: 31.2.2 => 31.6.0

Advanced-Command-Handler - V2.3.0

Published by Ayfri over 3 years ago

This is a pretty big update for the chore, adding TSDoc, online documentation, Wiki & more.
Also added cooldown management & some utils.

For changes that refer to a PR, I invite you to check to documentation.

Changelog

  • Added codeError function. (2a00110b05d6cd7b8f946ea399b214887931c8d8)
  • Added missing imports. (83a7eecdd0774b5d90ed493606c76c820472e0ff)
  • Added online documentation here using TSDoc. (3e777bb1d70cd6de7873936ef8c75b92c7a959d6)(e128886716ce120abd667fe48705159168e04798)(2c5dbde32f03ac7ce3b46345053f6c602be6c585)(b653cd22940ab5705956bfe30a22a2aef514feb0)
  • Added some utils functions. (4988d37d5035af1bcf7243854b2d6d57bd1d2eb4)
  • Added TSDoc everywhere. (#61)
  • Added wiki pages here to explain how to use this library.
  • Fixed spelling. (#57)
  • Improved cooldowns. (#56).
  • Improved default message event. (9a12f7f63642b0962bd83deca1aec2bda458e966)(704a45c3a157333eae62f42da45e1b80362c5de7)
  • Improved exports. (c34df4e0f9b657fe8c5e6c46d3ac9ff0498b943f)
  • Improved internal code for getting arguments in default message event. (#57)(8a8f27daf2ad2e4379e76721fd4a5b6931fe3eab)
  • Moved declarations to their proper folder. (45d65ec53b0e96cfd4f64b7b4f6201da2f00039e)
  • Removed all explanations from README, as everything is now explicated in the guide & documentation. (5818646c49d0520e7e32a2ae0e80a2d60f5d0aa6)

Dependencies

[email protected]
[email protected]

Advanced-Command-Handler - v2.2.2

Published by Ayfri almost 4 years ago

This little release fixes some little issue, I should test more with each update haha.

Changelog

  • Fixed default message event. (aeebb5f)
  • Fixed getMissingPermissions. (316126a)
  • Fixed permissionsError using a non-existent BetterEmbed template. (b1c4930)

Dependencies

@types/[email protected]

Advanced-Command-Handler - v2.2.1

Published by Ayfri almost 4 years ago

This release is here to fix a bug with the invalid permissions checking (the fix to #45).

Changelog

  • Fixed #53. (e4e59c646251346f80ba8a99564d3e2934176a7b)
  • Improved consistency in logs when loading the command handler. (0866848482e7cffc87db6dae086a472a499e2821)
  • Improved errors for invalid permissions. (aed7c3a105369aa18587d7b266d6c44fd79ceaca)
  • Re-Fixed #45. (e4e59c646251346f80ba8a99564d3e2934176a7b)

Dependencies

[email protected]

Advanced-Command-Handler - v2.2.0

Published by Ayfri almost 4 years ago

This release adds the defaults commands/events they create a new section in logs before loading normal events/commands.
It also fixes some bugs, and also add the Event class.
โš You have to use the Event class now.

Also, CommandHandler is now a namespace but you use it in the same way.

Changelog

โš Breaking Changesโš 

  • Added Event class. (7fc36f1ca092104275171e347707b7a003c3a6c6)(3d9e32bfd87df444c5ccc13889d970db6f1312dc)
  • Removed CommandHandler interface property. (4569a8f)

Additional Changes

  • Added default ping command. (39390b7)
  • Added default message event. (4bbd930)
  • Added setDefaultCommands function in CommandHandler namespace. (f830c84)
  • Added setDefaultEvents function in CommandHandler namespace. (35de67e)
  • CommandHandler is now a namespace. (2e71b62)

Fixes

  • Added documentation for 2.1 changes. (7c7b2654853cee5ef813d448a3166d529ec38b72)
  • Fixed #45. (b07a3000bee12c7f4e319dad16252a2faa1da308)
  • Fixed default mention prefix. (5cd5ba3)(68fb6e7)
  • Fixed logComments static property in Logger class not public. (3d9e32bfd87df444c5ccc13889d970db6f1312dc)

Dependencies

Advanced-Command-Handler - v2.1.1

Published by Ayfri almost 4 years ago

This is a small fix release to fix CommandHandler events.

Changelog

  • Added some interfaces like CommandHandlerOptions to clarify code. (094522322f4ef16fa3bf2bdd37dde3c496c49e1b)

Bug Fixes

  • Fixed CommandHandler events. (094522322f4ef16fa3bf2bdd37dde3c496c49e1b)
  • Fixed some typos in README and package.json. (52e66cd6c3e6a55240c1124cff2e904c2884bf55)(4c817c9ba2202fe447dfe89ef397ad626ff8d861)

DevDependencies

@types/[email protected]

Advanced-Command-Handler - v2.1.0

Published by Ayfri almost 4 years ago

This release is here to add a ton of functions/methods to help you save some habitual code you put in every bot, like getting the prefix out of a message or the missing permissions.

Changelog

โš Breaking changesโš 

  • Added engineStrict in package.json. (6196b30ff140baf4f15bf4834bf4a551bbacc811)

Other changes

  • Added getMissingPermissions method in Command class. (d177e852cf396381c254d8a689dabdaddb54d335)
  • Added getMissingTags method in Command class. (d2697fe00897a03288b30eed2a004a93cc878b7b)
  • Added isInRightChannel method in Command class. (6d86c98d4efe06195bed2f032354e906dd27dafc)
  • Added permissionsError function. (be4944e)
  • Added version property in CommandHandler class. (22a9f3bcbd87c00aca751887ff1536932f9c4f1a)
  • Added events to the CommandHandler class, now extending from EventEmitter. (47f672c0954a94d818f5fd415cb33c1acd7351c9)(d9d0c7ff3a57ba329832a584cb2558d921b4068e)
  • Added export for dayjs. (739384449cf2c92527f61795d1e5f36b2cbb6282)
  • Added tests. (317fa34f24cd975c0394003c4e0022f4ea3a828e)
  • Removed luxon dependency, now using dayjs. (9222890f3b2c52e7c8cef4bf9e831fd2a803ee86)

Bug Fixes

  • Fixed template codes in README. (53f74c90dbdeeb749b9a83d43e0f405a9a1a0f27)(429df847e74ad918fd509d67188106819d81738c)
  • Updated the readme for the changes introduced in 2.0.0. (54f7652)(024d886)

Dependencies

Advanced-Command-Handler - v2.0.0

Published by Ayfri almost 4 years ago

Major update with this release is that the command handler is now written in TypeScript, so you can easily use it with typings.

This release also includes a lot of bug fixes and some changes in the command handler itself.

Note:
I prefer going to 2.0.0 instead of 1.3.0 as this version has a lot of breaking changes and this is a crucial version.
Going to TypeScript was in my head for a long time, and I struggled a bit to have all the code functional.
And I want to thank all the people who are using this library :)

Changelog

โš ๏ธBreaking changesโš ๏ธ

  • Now using ESImport everywhere. (d8c1b16) (46c0968)
  • Removed BetterEmbed class as now using module discord.js-better-embed. (e6da55a)
  • RunFunction in Command is now custom and not predefined. (9643362)
  • Updated dependencies. (5105ba7)

Non-breaking changes

Minor changes

  • Added missing exports. (854fd9f) (875e80a)
  • Catch errors when loading commands/events. (bafe9a6) (a0f5ee5)
  • Ignored .npmignore. (7fff8c5)
  • Now exporting the message sent in argError function. (301228e)
  • Now ignoring if commands folder or events folder does not exist. (77d4352)
  • Now using fs.promises + async to have a better code. (88c8456) (6ed1e59) (deafe31)
  • Removed presentation.txt. (29a498c1fce3968df067123aa0c1b9e378c81e57)
  • Removed useless code. (3435d93) (f468c49)
  • Removed useless TSDoc (da15374)

Bug fixes

  • Fixed big issues in Logger class. (fc27b58) (f3f26f3)
  • Fixed exports. (93f6315)
  • Fixed interface CommandOptions to have optional properties. (1f76684)
  • Fixed some exceptions when launching. (b469094) (5ba4a9a) (b27cf89)

Dependencies

DevDependencies

Advanced-Command-Handler - v1.3.0 beta 4

Published by Ayfri almost 4 years ago

This beta is there to fixes the last issue when using this bot.

Changelog

  • Added try/catch when loading commands/events. (bafe9a6902d5a9afbc7ab8844640567d6a5ef6da) (a0f5ee59d95d7477358b7bc8b3a30c2d4e9b195c)
  • Added missing exports. (854fd9f5070085b5b58d633bdbbe88073340bbc3) (875e80a64ccb058ee15b68dea18180bb2de025cb)
  • Fixed CommandOptions to have optional properties. (1f766849eae25ce92481d5b2a81bd470297d8632)
  • Fixed some big issues in Logger class. (fc27b58dd2341a4f00139d59f9d38260ec26b38a) (f3f26f30184a8507f7eab04952e44f1873d5d31e)
  • Now using ESImport everywhere. (d8c1b1664370ea66bdd7fbaf1ab5073861e626c8) (46c0968c713ba2b2f754d31361a511bdb61ef1ae)
  • RunFunction in Command is now custom and not predefined. (964336243a798f8e1206417320f2ae20d3be4e64)
  • Removed useless code. (3435d933dd257ca190e6987c7bca0790445ecd9f) (f468c499b40ceb79234047d685e8396251d17a99)
Advanced-Command-Handler - v1.3.0 beta 3

Published by Ayfri almost 4 years ago

This release cleans up the code and brings the last fixes.

Changelog

  • Fixed again path to presentation.txt. (0e5d0877547741743e1e8646b61f62fcf7a12ad3)
  • Now using fs.promises + async to have a better code. (88c84562d9b5fa441d7e2c0be88381a4f9d744b3) (6ed1e59df750c403b28deab1881b56d660821cba) (deafe3108db01dc7e49886300e5ccd2e346b5259)
Advanced-Command-Handler - v1.3.0 beta 2.1

Published by Ayfri almost 4 years ago

Just to say, I failed to put the beta tag on the version beta 2 so I have to put 2.1 (because we can't re-publish once we unpublished :/).

This beta fixes types issues and some other issues.

Changelog

  • Added .npmignore to ignore src. (7fff8c5b52b99fc4d6c9c6b757955517681b10d2)
  • Fixed argError function not returning the right thing. (301228e128caaf537e41b803adb5ec77e9cb3496)
  • Fixed exports. (93f6315786720ebffd2292b3e494a60ccfffc527)
  • Fixed some exceptions when launching. (b4690940e220278954f910390d2df29db1c84ad2) (5ba4a9ab23a13bfe8dbe17a71160e6f6799edd88) (b27cf895723f9c9fdb26f9c71bc14ded31127656)
  • Now ignoring if commands dir or events dir doesn't exist. (77d4352cf22fd328534faf76a9cae4f3329dbb8c)

Dependencies

Advanced-Command-Handler - v1.3.0 beta 1

Published by Ayfri almost 4 years ago

This is the first public beta version for this package in TypeScript.
Surely there is a lot of bugs.

Changelog

  • Removed BetterEmbed class as now using my module discord.js.better-embed. (e6da55afb38bfe9d894b6119142a5a1086e50b49)
  • Removed TSDoc. (da153749386883e2213304e0d4216a25c6db73dd)
  • Updated dependencies. (5105ba7607154afb4946117f35c02c246d32bcad)
Advanced-Command-Handler - 1.2.1

Published by Ayfri about 4 years ago

This release fixes some bugs.

Changelog

  • Fixed prettier script.
  • Fixed JSDoc for the Command class constructor.
  • Prettified code.
Badges
Extracted from project README
npm npm GitHub issues npm install
Related Projects