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;