feat: msg notify to TG Group
This commit is contained in:
@@ -92,6 +92,9 @@ func onSystemMsg(msg chat.Message, overlay bool) error {
|
||||
|
||||
func onPlayerMsg(msg chat.Message, validated bool) error {
|
||||
go func() {
|
||||
if msg.Translate != "commands.message.display.incoming" {
|
||||
return
|
||||
}
|
||||
log.Printf("Player: %s", msg)
|
||||
s := strings.Split(msg.String(), " ")
|
||||
if len(s) > 1 {
|
||||
|
||||
Reference in New Issue
Block a user