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

v1.2.11

Latest
Compare
Choose a tag to compare
@Spimy Spimy released this 09 Jul 18:00
· 3 commits to master since this release

"Breaking" Change

  • Regex is now part of the config file renamed to settings. The config is now accessed through client.$settings.config and regexes through client.$settings.regex. It is encouraged to add regexes there, especially if it will be reused many times (issue #12).

New Feature

  • Category property for a command will now be generated if subfoldered using relative path. E.g. mod/ban, the command decorator will look like:
@Command({
    name: 'ban',
    category: 'Mod'
})

This was added in hopes to speed up development time by even just a little bit so the developer does not need to re-specify the category (issue #10)

Small Changes

  • Remove unused imports (issue #13)
  • Refactor boolean check (issue #15)