| Modifier and Type | Method | Description |
|---|---|---|
CommandSettings |
CommandSettings.addChannelsToBlacklist(long... channelIds) |
Adds multiple channels to the blacklist.
|
CommandSettings |
CommandSettings.addChannelsToBlacklist(Collection<Long> channelIds) |
Adds multiple channels to the blacklist.
|
CommandSettings |
CommandSettings.addChannelToBlacklist(long channelId) |
Adds a given channel to the blacklist (meaning commands can not be executed in there).
|
CommandSettings |
CommandSettings.addHelpLabel(String label) |
Method to add one help label.
|
CommandSettings |
CommandSettings.addHelpLabels(String... labels) |
Use this method to add help labels.
|
CommandSettings |
CommandSettings.addHelpLabels(Collection<String> labels) |
Adds multiple labels from a String Set.
|
CommandSettings |
CommandSettings.clear() |
Resets this whole instance by clearing the commands, help labels and setting everything to how it was at the beginning.
|
CommandSettings |
CommandSettings.clearBlacklist() |
Clears the blacklist so that no channel is blacklisted anymore.
|
CommandSettings |
CommandSettings.clearCommands() |
Clears all commands.
|
CommandSettings |
CommandSettings.clearHelpLabels() |
This can be used to deactivate the help labels.
|
CommandSettings |
CommandSettings.put(ICommand executor,
String label) |
Use this method to add commands from your project.
|
CommandSettings |
CommandSettings.put(ICommand executor,
String... labels) |
Use this method to add commands with aliases.
|
CommandSettings |
CommandSettings.put(ICommand executor,
Collection<String> labels) |
Use this method to add commands with aliases from a Set.
|
CommandSettings |
CommandSettings.setBotExecution(boolean botExecution) |
Setter for the field botExecution.
|
CommandSettings |
CommandSettings.setCooldown(long msCooldown) |
Sets the cooldown for this instance of settings.
|
CommandSettings |
CommandSettings.setHelpCommandColor(Color color) |
Sets the color the help message embed will have.
|
Copyright © 2018. All rights reserved.