quotes
This commit is contained in:
parent
54d777934b
commit
69a6416c1b
2
bot.go
2
bot.go
@ -311,7 +311,7 @@ func botSay(m *tb.Message) {
|
||||
|
||||
px := PacketAdminRCon{
|
||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
||||
Command: fmt.Sprintf("say %s", msg),
|
||||
Command: fmt.Sprintf("say \"%s\"", msg),
|
||||
}
|
||||
srv.Send(px.Bytes())
|
||||
|
||||
|
4
ttd.go
4
ttd.go
@ -612,7 +612,7 @@ func (s *ServerTTD) ComputeClientTime() {
|
||||
bot.SendChat(cfg.Telegram.ChatID, msg)
|
||||
px := PacketAdminRCon{
|
||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
||||
Command: fmt.Sprintf("say %s", msg),
|
||||
Command: fmt.Sprintf("say \"%s\"", msg),
|
||||
}
|
||||
srv.Send(px.Bytes())
|
||||
}
|
||||
@ -621,7 +621,7 @@ func (s *ServerTTD) ComputeClientTime() {
|
||||
bot.SendChat(cfg.Telegram.ChatID, msg)
|
||||
px := PacketAdminRCon{
|
||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
||||
Command: fmt.Sprintf("say %s", msg),
|
||||
Command: fmt.Sprintf("say \"%s\"", msg),
|
||||
}
|
||||
srv.Send(px.Bytes())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user