Fixed incorrect usage message with kick command
This commit is contained in:
parent
154b549abb
commit
18cd562993
1 changed files with 4 additions and 2 deletions
|
@ -49,8 +49,10 @@ namespace Noikoio.RegexBot.Module.ModCommands.Commands
|
||||||
|
|
||||||
// Building usage message here
|
// Building usage message here
|
||||||
DefaultUsageMsg = $"{this.Trigger} [user or user ID] " + (_forceReason ? "[reason]" : "*[reason]*") + "\n"
|
DefaultUsageMsg = $"{this.Trigger} [user or user ID] " + (_forceReason ? "[reason]" : "*[reason]*") + "\n"
|
||||||
+ "Removes the given user from this server and prevents the user from rejoining. "
|
+ "Removes the given user from this server"
|
||||||
+ (_forceReason ? "L" : "Optionally l") + "ogs the reason for the ban to the Audit Log.";
|
+ (_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)
|
if (_purgeDays > 0)
|
||||||
DefaultUsageMsg += $"\nAdditionally removes the user's post history for the last {_purgeDays} day(s).";
|
DefaultUsageMsg += $"\nAdditionally removes the user's post history for the last {_purgeDays} day(s).";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue