Fixed incorrect message being sent to audit log
This commit is contained in:
parent
6127bb2ee7
commit
7708a81949
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ namespace Noikoio.RegexBot.Module.ModCommands.Commands
|
|||
#warning Remove EscapeDataString call on next Discord.Net update
|
||||
#if !DEBUG
|
||||
if (_mode == CommandMode.Ban) await g.AddBanAsync(targetId, _purgeDays, reasonlog);
|
||||
else await targetobj.KickAsync(reason);
|
||||
else await targetobj.KickAsync(reasonlog);
|
||||
#else
|
||||
#warning "Actual kick/ban action is DISABLED during debug."
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue