small correction to text
This commit is contained in:
1 parent
734e4e0b25
commit
90c2f8fba7
1 file changed
+3
-3
@@ -128,17 +128,17 @@ public class ConfigureCommand extends AbstractCommand {
|
||||
boolean debug = guildManager.isDebugEnabled();
|
||||
|
||||
context.reply("Error logging is currently %s for this guild.", (debug ? "enabled" : "disabled"));
|
||||
context.reply("Use 'conf debug 0/1' to toggle between states.");
|
||||
context.reply("Use 'conf debug 0/1' to toggle between states (0 = disabled, 1 = enabled).");
|
||||
}
|
||||
|
||||
if (args.length == 2) {
|
||||
String str = args[1];
|
||||
boolean debug = guildManager.isDebugEnabled();
|
||||
if (str.equals("0") || str.equalsIgnoreCase("false")) {
|
||||
if (str.equals("0") || str.equalsIgnoreCase("disable")) {
|
||||
debug = false;
|
||||
}
|
||||
|
||||
if (str.equals("1") || str.equalsIgnoreCase("true")) {
|
||||
if (str.equals("1") || str.equalsIgnoreCase("enable")) {
|
||||
debug = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user