fix
This commit is contained in:
2
bot.go
2
bot.go
@@ -680,7 +680,7 @@ func botSaveGame(m *tb.Message) {
|
||||
|
||||
px := PacketAdminRCon{
|
||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
||||
Command: fmt.Sprintf("save %d", r.ReplaceAllString(m.Text, "${Number}")),
|
||||
Command: fmt.Sprintf("save %s", r.ReplaceAllString(m.Text, "${Number}")),
|
||||
}
|
||||
|
||||
srv.Send(px.Bytes())
|
||||
|
||||
Reference in New Issue
Block a user