We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bba633 commit 4933b7bCopy full SHA for 4933b7b
plugins/start.py
@@ -2,7 +2,7 @@
2
import os
3
import asyncio
4
from pyrogram import Client, filters, __version__
5
-from pyrogram import Bot
+
6
from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton
7
from pyrogram.errors import FloodWait
8
@@ -166,4 +166,4 @@ async def send_text(bot, m: Message):
166
else:
167
msg = await m.reply_text(REPLY_ERROR, m.message_id)
168
await asyncio.sleep(8)
169
- await msg.delete()
+ await msg.delete()
0 commit comments