1
0
mirror of https://github.com/fumiama/ReiBot.git synced 2026-06-08 12:00:38 +08:00

chore: make lint happy

This commit is contained in:
源文雨
2025-05-13 20:31:04 +09:00
parent 1683db37d0
commit 617956e3e2
4 changed files with 11 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ func main() {
},
Debug: true,
Handler: &rei.Handler{
OnMessage: func(updateid int, bot *rei.TelegramClient, msg *tgba.Message) {
OnMessage: func(_ int, bot *rei.TelegramClient, msg *tgba.Message) {
if len(msg.Text) <= len("测试") {
return
}
@@ -91,7 +91,7 @@ func main() {
log.Errorln(err)
}
},
OnEditedMessage: func(updateid int, bot *rei.TelegramClient, msg *tgba.Message) {
OnEditedMessage: func(_ int, bot *rei.TelegramClient, msg *tgba.Message) {
if len(msg.Text) <= len("测试") {
return
}