Taosky / telegram-search-bot

A telegram group record search bot that solves the problem of direct search inability in languages such as CJK / Telegram 群聊天记录搜索Bot,解决CJK等语言无法直接搜索问题
MIT License
375 stars 49 forks source link

无关痛痒的报错 #43

Closed lancer-wang closed 1 year ago

lancer-wang commented 1 year ago

Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/telethon/client/updates.py", line 543, in _dispatch_update await callback(event) File "/app/userbot.py", line 133, in handle_edit_message update_message(chat_id, msg_id, msg_text) TypeError: update_message() missing 1 required positional argument: 'msg_text'

看了下代码,感觉应该是那种非文字的消息,然后获取不到msg_text update_message的msg_text 搞个默认空应该好些吧

Taosky commented 1 year ago

函数多写了一个参数,导致一直没更新修改的消息🤣