feat: ignore bot msg
This commit is contained in:
@@ -60,7 +60,9 @@ func Run(sendFunc func(string)) {
|
||||
logrus.Infof("id is %d", m.Chat.ID)
|
||||
m := fmt.Sprintf("%v: %v", m.From.UserName, m.CommandArguments())
|
||||
sendFunc(m)
|
||||
logrus.WithError(err).Error("send message error")
|
||||
if err != nil {
|
||||
logrus.WithError(err).Error("send message error")
|
||||
}
|
||||
return
|
||||
}
|
||||
if m.Command() == "list" {
|
||||
|
Reference in New Issue
Block a user