deepinsight / deepinsight/insightface
AttributeError: 'NoneType' object has no attribute 'forward'
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
if "yes" in cb_data:
Config.feedback.remove(m.from_user.id)
feedtext = m.message.reply_to_message
button = [[InlineKeyboardButton("↩ Reply", callback_data=f"reply+{m.from_user.id}")]]
markup = InlineKeyboardMarkup(button)
for i in Config.OWNER:
NS = await feedtext.forward(int(i))
await NS.reply_text("💬 Send The Reply", reply_markup=markup, quote=True)
await m.message.delete()
await c.send_message(chat_id=m.message.chat.id, text="✅ Feedback Sent Successfully. Hope you will get reply soon")
**EROR**
File "/app/plugins/callback.py", line 43, in cb_handler
2021-07-03T14:07:02.652205+00:00 app[worker.1]: NS = await feedtext.forward(int(i))
2021-07-03T14:07:02.652206+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'forward'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.