Things you really need to know
There are some things you need to know about some options before working on outside of this NoCliHandler instance.
Debugging (debugging
)
debugging
)showFullErrorLog
Whether or not to show the full error log
showBanner
Whether or not to show the banner upon the start of the program
Configuring Cooldowns (cooldownConfig
)
cooldownConfig
)defaultErrorMessage
Sets the default error message
botOwnersBypass
Whether to allow bot owners to bypass command cooldowns
dbRequired
Sets the default command cooldown limit. If cooldown limit exceeds, it will be stored in the database
Test Servers (testServers
) and Bot Owners (botOwners
)
testServers
) and Bot Owners (botOwners
)testServers
The test servers only testonly
commands can run in
String[]
botOwners
The bot owners
String[]
Configuring Emojis (emojiConfig
)
emojiConfig
)This emoji configuration will have the following options:
disabled
enabled
error
info
success
All of these options have a type String
, so do specify this if you want to have custom emojis for the bot to send messages based on the command handler.
Disabling Default Commands (disabledDefaultCommands
)
disabledDefaultCommands
)There are some default commands you do not want to deploy when the bot starts, so here is a trick.
disabledDefaultCommands
has an Array
type String
, and here are the default commands you need to know to disable (some of them marked with a check are not implemented yet):
Just specify any of them into an array and the command handler will disable it for you.
When specifying one of these default commands, please specify them correctly. Otherwise, the command handler will ignore the incorrectly spelled specified default commands
Last updated