Releases: minhtribui153/nocli-handler.js
Releases · minhtribui153/nocli-handler.js
v1.1.2
Edits:
- Replaced featuresDir option from NoCliHandler.configuration with events
- Added foldersOnly option to
getAllFiles
utility function - Refactored
CommandHandler
andNoCliHandler
class
Updates:
- Added
isCommand
andcategories
toCommandHandler
- Added
categoryName
toCommand
(Which will be useful forhelp
commands) - Added
isEvent
toEventHandler
- Added
PrefixHandler
andEventHandler
classes - Added
prefix
default command - Added Dynamic Validations (
default
andlocal
) to events - Added Validation plugins (for users who want to create their own validations)
- Refactored
typings
which will automatically be sorted ontypings
folder (won't affect your imports though)
Bug Fixes:
- Added fix for
disabledDefaultCommands
andICommand.delete
causing all commands not to load when called
v1.1.1
Edits
- Added String Types for
ICommand.type
- Edited option cooldowns as not required in ICommand
- Added option instance to
ICommand.callback
- Added
isAnAlias
toCommand
class to prevent cluttering with original commands - Default commands for
CommandHandler
has been enabled - Added
disabledDefaultCommands
option toNoCliHandler
- Added
emojiConfig
option,options
option, andNoCliEmojiConfigOptions
type to ICommand
Updates:
- Added required permissions & roles MongoDB Schema
- Added some default slash commands
- Added
MongoDBResult
type and fixed bug "Early connection before MongoDB Instance returns a connection status" - Added
handleCommandAutocomplete
function - Added
ChannelCommands
,CustomCommands
andDisabledCommands
classes - Added function
findCommand
toSlashCommands