small correction to text

This commit is contained in:
anthorob committed 2022-03-17 07:45:37 -04:00
1 parent 734e4e0b25
commit 90c2f8fba7
1 file changed
+3 -3
@@ -128,17 +128,17 @@ public class ConfigureCommand extends AbstractCommand {
boolean debug = guildManager.isDebugEnabled(); boolean debug = guildManager.isDebugEnabled();
context.reply("Error logging is currently %s for this guild.", (debug ? "enabled" : "disabled")); 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) { if (args.length == 2) {
String str = args[1]; String str = args[1];
boolean debug = guildManager.isDebugEnabled(); boolean debug = guildManager.isDebugEnabled();
if (str.equals("0") || str.equalsIgnoreCase("false")) { if (str.equals("0") || str.equalsIgnoreCase("disable")) {
debug = false; debug = false;
} }
if (str.equals("1") || str.equalsIgnoreCase("true")) { if (str.equals("1") || str.equalsIgnoreCase("enable")) {
debug = true; debug = true;
} }