adjust command logging so it should only log the results

This commit is contained in:
Madpeter 2024-07-04 13:30:09 +01:00
parent 5071431f26
commit 68681629a8

View file

@ -416,11 +416,9 @@ namespace SecondBotEvents.Services
if (requireSigning == false) if (requireSigning == false)
{ {
accepted = true; // just accept the command accepted = true; // just accept the command
master.CommandNotice(command, source, String.Join("@@@", args), accepted);
return; return;
} }
Vaildate(requireTimewindow, windowSize, secret); Vaildate(requireTimewindow, windowSize, secret);
master.CommandNotice(command, source, String.Join("@@@", args), accepted);
} }
public SignedCommand(CommandsService setMaster, string source, string setCommand, string setSigningCode, string[] setArgs, public SignedCommand(CommandsService setMaster, string source, string setCommand, string setSigningCode, string[] setArgs,