update origin /say msg
This commit is contained in:
parent
69a6416c1b
commit
37310c4d88
2
bot.go
2
bot.go
@ -311,7 +311,7 @@ func botSay(m *tb.Message) {
|
|||||||
|
|
||||||
px := PacketAdminRCon{
|
px := PacketAdminRCon{
|
||||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
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())
|
srv.Send(px.Bytes())
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||||
package main
|
package main
|
||||||
var githash = "ccd41c2"
|
var githash = "69a6416"
|
||||||
var buildstamp = "2021-11-13_06:27:18"
|
var buildstamp = "2021-11-13_06:38:27"
|
||||||
var commits = "198"
|
var commits = "200"
|
||||||
var version = "ccd41c2-b198 - 2021-11-13_06:27:18"
|
var version = "69a6416-b200 - 2021-11-13_06:38:27"
|
||||||
|
Loading…
Reference in New Issue
Block a user