WOKCommands
Search…
Changelog

1.5.3 2021/10/11

Fixed
  • Fix the "!slash" command embed fields being too long

1.5.1 2021/10/8

Fixed
  • Fixed mongo connection bug

1.5.0 2021/10/6

Fixed
  • Now fetches slash commands instead of just relying on the cache for "!slash"
  • Improved typing for category settings function

1.4.8 2021/10/5

Added
  • An sub command options size check which might trigger updating the slash command
Fixed
  • No longer require a database to use slash commands
  • Various connection timeout bugs when a database is not connected

1.4.3 2021/10/1

Fixed
  • Make sure a database is present before fetching command info from the database
  • Immediately add new channels to the required channels array when "!channelOnly" is ran. Beforehand it was only loading them on restart

1.4.2 2021/9/29

Added
  • New "requireRoles" property for commands that will let server owners know to use "/requireRoles <command name> <role ID>". Useful for moderation commands
  • New "expectedArgsTypes" property for commands to specify slash command option types for each element of "expectedArgs". This way you don't have to specify an "options" property to have non-string types.
Fixed
  • Slow load time when using slash commands
  • Slash commands are now only registered OR updated when need be, otherwise no API calls are sent

1.3.99 2021/9/24

Added
  • Can now access guild, user, and memberproperties from the callback argument object
  • Can now return an object with "custom": true to return an object to message.reply() or interaction.reply() depending on if it was ran as a slash or legacy command
  • Can now pass in "debug": true to the constructor to view how long each feature takes to load

1.3.96 2021-9-11

Fixed
  • Fixed some database connection errors

1.3.95 2021-9-9

Added
  • Global slash commands are only registered once
  • Now accepting the Mongo URI from an options object
  • MongoDB will be connected to before any commands or features are loaded
Fixed
  • Cooldowns, permissions, etc checks are now performed on slash commands too
  • The "!slash" command now shows guild-based Slash Commands
  • Connect to the database before any commands or features are loaded
  • Commands in subdirectories are now loaded when using ts-node
Removed
  • No longer accept a Mongo URI from the .setMongoPath() method
  • The "loadDBFirst" config for features. MongoDB is now connected to before any feature is loaded

1.3.94 2021-9-6

Added
  • Ability to import .ts files if you are using ts-node

1.3.9 2021-8-16

Added
  • Added most of Typescript support
  • Updated to Discord.JS v13
  • Added ability to cancel command cooldowns within the callback method
  • Make command prefixes case insensitive

1.3.6 2021-6-1

Added

  • Customizable channel specific command support

1.3.5 2021-4-30

Added

  • Added a built in !slash command to list and delete slash commands.
  • Added German as a default language translation via this pr.
  • Fixed an error occurring via this pr.

1.3.4 - 2021-4-29

Added

1.3.2 - 2021-4-18

Fixed

  • Fixed the ignoreBots property not working correctly.

Updated

  • Changed the README documentation to link to this site instead.