From 19c75976c61ffd2c0c56cfd8fb9e6a384ea24803 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sat, 2 Sep 2017 22:40:13 -0400 Subject: [PATCH] Fix command format --- TGServerService/ChatCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGServerService/ChatCommands.cs b/TGServerService/ChatCommands.cs index f0a8d42ec6..55b92365f5 100644 --- a/TGServerService/ChatCommands.cs +++ b/TGServerService/ChatCommands.cs @@ -55,7 +55,7 @@ namespace TGServerService protected override ExitCode Run(IList 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;