feat: ignore bot msg
This commit is contained in:
@@ -97,3 +97,10 @@ func CronKick() {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
func isBotMsg(msg chat.Message) bool {
|
||||
if msg.Translate == "commands.message.display.outgoing" {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user