update origin /say msg

This commit is contained in:
shoopea 2021-11-13 14:38:39 +08:00
parent 69a6416c1b
commit 37310c4d88
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@ -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 says : %s\"", m.Sender.Username, msg),
}
srv.Send(px.Bytes())

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "ccd41c2"
var buildstamp = "2021-11-13_06:27:18"
var commits = "198"
var version = "ccd41c2-b198 - 2021-11-13_06:27:18"
var githash = "69a6416"
var buildstamp = "2021-11-13_06:38:27"
var commits = "200"
var version = "69a6416-b200 - 2021-11-13_06:38:27"