From 18cd562993afb6b18f8d445e57126335f14b7cdb Mon Sep 17 00:00:00 2001 From: Noikoio Date: Wed, 14 Mar 2018 20:12:19 -0700 Subject: [PATCH] Fixed incorrect usage message with kick command --- Module/ModCommands/Commands/BanKick.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Module/ModCommands/Commands/BanKick.cs b/Module/ModCommands/Commands/BanKick.cs index 9fdbc0b..28c94e1 100644 --- a/Module/ModCommands/Commands/BanKick.cs +++ b/Module/ModCommands/Commands/BanKick.cs @@ -49,8 +49,10 @@ namespace Noikoio.RegexBot.Module.ModCommands.Commands // Building usage message here DefaultUsageMsg = $"{this.Trigger} [user or user ID] " + (_forceReason ? "[reason]" : "*[reason]*") + "\n" - + "Removes the given user from this server and prevents the user from rejoining. " - + (_forceReason ? "L" : "Optionally l") + "ogs the reason for the ban to the Audit Log."; + + "Removes the given user from this server" + + (_mode == CommandMode.Ban ? " and prevents the user from rejoining" : "") + ". " + + (_forceReason ? "L" : "Optionally l") + "ogs the reason for the " + + (_mode == CommandMode.Ban ? "ban" : "kick") + " to the Audit Log."; if (_purgeDays > 0) DefaultUsageMsg += $"\nAdditionally removes the user's post history for the last {_purgeDays} day(s)."; }