Fixed an error message displaying incorrectly
This commit is contained in:
parent
4a5e07ba89
commit
666e5406ca
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ namespace Noikoio.RegexBot.Module.ModCommands.Commands
|
|||
var (targetId, targetData) = await GetUserDataFromString(g.Id, targetstr);
|
||||
if (targetId == 1)
|
||||
{
|
||||
await msg.Channel.SendMessageAsync(FailPrefix + FailDefault);
|
||||
await msg.Channel.SendMessageAsync(
|
||||
string.Format(FailPrefix, (_mode == CommandMode.Ban ? "ban" : "kick")) + FailDefault);
|
||||
return;
|
||||
}
|
||||
if (targetId == 0)
|
||||
|
|
Loading…
Reference in a new issue