Hootrix/keyword_alert_bot

[BUG] Unhandled exception on unsubscribe_all

Closed this issue · 0 comments

问题描述 Describe the bug

Unhandled exception on unsubscribe_all
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/telethon/client/updates.py", line 570, in _dispatch_update
    await callback(event)
  File "/etc/kabot/main.py", line 634, in unsubscribe_all
    await event.respond('success unsubscribe_all:\n' + msg,link_preview = False,parse_mode = None)
  File "/usr/local/lib/python3.9/dist-packages/telethon/tl/custom/message.py", line 761, in respond
    return await self._client.send_message(
  File "/usr/local/lib/python3.9/dist-packages/telethon/client/messages.py", line 903, in send_message
    result = await self(request)
  File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 30, in __call__
    return await self._call(self._sender, request, ordered=ordered)
  File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 87, in _call
    result = await future
telethon.errors.rpcerrorlist.MessageTooLongError: Message was too long (caused by SendMessageRequest)

订阅信息 command Info
请提供相关命令和信息,例如:

/subscribe /Discord|GV|voice|Linkedin|Linkedin账号|QQ|WeChat|badoo|bumble|cmb|digicafe|fb|id|ig|ins|lovean|meetme|okc|pairs|seeking|skout|soul|tagged|tg会员|tiktok|tinder|tn|tt|voice|ws|ww|yyc|下载id|乌拉圭交友粉|乌拉圭网赚|乌拉圭色粉|交友粉|交友软件|京东|伊对|会员|全球数据|全球静态|兼职|劫持号|南非交友粉|南非网赚|南非色粉|印尼ws拉群|印尼交友粉|印尼拉群|印尼网赚|印尼色粉|印度ws拉群|印度交友粉|印度拉群|印度数据|印度网赚|印度色粉|双J|**交友粉|**股票|**色粉|哔哩哔哩|国外id|圈圈|埃及交友粉|埃及网赚|埃及网赚粉|埃及色粉|大黄蜂|天然气数据|小P|小火箭|小红书|巴拉圭交友粉|巴拉圭网赚|巴拉圭色粉|巴豆|微信|微博|快手|房主数据|投流|投资数据|抖音|探探|接码|推特|数据|日本交友|日本股民|日本股粉|日本色粉|智利交友粉|智利网赚|智利色粉|欧洲交友粉|注册soul|注册京东|注册哔哩哔哩|注册小红书|注册微博|注册快手|注册抖音|注册探探|注册钉钉|注册陌陌|泰国交友粉|泰国股票粉|泰国色粉|派|海外交友粉|海外数据|海外短信通道|海外粉|海外色粉|火种|火苗|灵魂号|灵魂新号|短信通道|秘鲁交友粉|秘鲁网赚|秘鲁色粉|糖爹|绿油|缘结|网赚|美国id|美国ws拉群|美国交友粉|美国拉群|美国股票粉|美国色粉|股民粉|苹果ID|蓝M|蓝v|谷歌邮箱|贷款数据|越南交友粉|越南色粉|车主数据|钉钉|银行数据|陌陌|静态|领英|飞机会员|香港id|马来股票粉|马来西亚交友粉|马来西亚色粉|高净值/ig HXLM88669,palameila2,guakkk,qxdbaaa,jsj98,jkolbk,chuhaiddd,GJLM66,baijhg