AbirHasan2005 / AbirHasan2005/Forward-Client

#bug while !kang

Đang mở
#13 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
121
Fork
282
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

2021-09-30T14:57:31.942014+00:00 app[worker.1]: Pyrogram v1.2.9, Copyright (C) 2017-2021 Dan
2021-09-30T14:57:31.942028+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2021-09-30T14:57:31.942028+00:00 app[worker.1]:
2021-09-30T14:57:52.205792+00:00 app[worker.1]: 'NoneType' object has no attribute 'id'
2021-09-30T14:57:52.205807+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-30T14:57:52.205809+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker
2021-09-30T14:57:52.205809+00:00 app[worker.1]: await handler.callback(self.client, *args)
2021-09-30T14:57:52.205809+00:00 app[worker.1]: File "/app/main.py", line 50, in main
2021-09-30T14:57:52.205810+00:00 app[worker.1]: elif (message.text == "!kang") and (message.from_user.id == (await client.get_me()).id):
2021-09-30T14:57:52.205811+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'id'

https://extraimages.net/image/taZoh
https://extraimages.net/image/tazmk
https://extraimages.net/image/taBkR

i was trying to do !kang whole channel but it gives that error. not edited anything directly deployed from your repo

once check images it shows it links successfully FORWARD_FROM_CHAT_ID id but FORWARD_TO_CHAT_ID says none . i cross-checked ids and they are good

i tried do kang in a test channel with 10 videos and it still failed

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.