feat: ignore bot msg

This commit is contained in:
Vaala Cat
2023-08-28 14:10:31 +08:00
parent 8f7bb8feba
commit 46cf57764c
4 changed files with 12 additions and 3 deletions

View File

@@ -97,3 +97,10 @@ func CronKick() {
}
})
}
func isBotMsg(msg chat.Message) bool {
if msg.Translate == "commands.message.display.outgoing" {
return true
}
return false
}