This commit is contained in:
2023-02-24 16:46:59 +02:00
parent 1cdd2644df
commit 873855937f
3 changed files with 11 additions and 7 deletions

View File

@@ -146,12 +146,7 @@ internal class CommandHandler
if(split.Length > 1)
argsClean = string.Join(' ', split, 1, split.Length-1).Split(' ');
CmdArgs cmd = new() {
context = context,
cleanContent = cleanMessage,
commandUsed = split[0],
arguments = argsClean
};
CmdArgs cmd = new(context, cleanMessage, split[0], argsClean);
if (context.Channel is SocketDMChannel)
plugin.ExecuteDM(cmd);