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
|
#warning Remove EscapeDataString call on next Discord.Net update
|
||||||
#if !DEBUG
|
#if !DEBUG
|
||||||
if (_mode == CommandMode.Ban) await g.AddBanAsync(targetId, _purgeDays, reasonlog);
|
if (_mode == CommandMode.Ban) await g.AddBanAsync(targetId, _purgeDays, reasonlog);
|
||||||
else await targetobj.KickAsync(reason);
|
else await targetobj.KickAsync(reasonlog);
|
||||||
#else
|
#else
|
||||||
#warning "Actual kick/ban action is DISABLED during debug."
|
#warning "Actual kick/ban action is DISABLED during debug."
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue