From 90c2f8fba7c12f728aa7123d64d091af0f6ff857 Mon Sep 17 00:00:00 2001 From: anthorob Date: Thu, 17 Mar 2022 07:45:37 -0400 Subject: [PATCH] small correction to text --- .../java/netneutrality/command/bot/ConfigureCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/netneutrality/command/bot/ConfigureCommand.java b/src/main/java/netneutrality/command/bot/ConfigureCommand.java index a89d60f..0a0bb79 100644 --- a/src/main/java/netneutrality/command/bot/ConfigureCommand.java +++ b/src/main/java/netneutrality/command/bot/ConfigureCommand.java @@ -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; }