Fix command format

This commit is contained in:
Cyberboss
2017-09-02 22:40:13 -04:00
parent 6f87fa6c18
commit 19c75976c6
+1 -1
View File
@@ -55,7 +55,7 @@ namespace TGServerService
protected override ExitCode Run(IList<string> parameters)
{
var res = Instance.SendCommand(String.Format("{0} {1}", Keyword, String.Join(" ", parameters)));
var res = Instance.SendCommand(String.Format("{0};sender={1};custom=\"{2}\"", Keyword, CommandInfo.Value.Speaker, String.Join(" ", parameters)));
if (res != "SUCESS" && !String.IsNullOrWhiteSpace(res))
OutputProc(res);
return ExitCode.Normal;