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())