Captain Ezio commited on
Commit
98371d5
·
1 Parent(s): 341e197

Update utils.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/utils.py +3 -2
Powers/plugins/utils.py CHANGED
@@ -297,11 +297,12 @@ async def paste_func(_, message: Message):
297
  )
298
  await m.delete()
299
  except Exception:
300
- await m.edit_text(
 
301
  "Here is the link of the document....",
302
  reply_markup=InlineKeyboardMarkup(kb),
303
  )
304
-
305
 
306
  @Gojo.on_message(command("tr"))
307
  async def tr(_, message):
 
297
  )
298
  await m.delete()
299
  except Exception:
300
+ await m.delete()
301
+ await message.reply_text(
302
  "Here is the link of the document....",
303
  reply_markup=InlineKeyboardMarkup(kb),
304
  )
305
+
306
 
307
  @Gojo.on_message(command("tr"))
308
  async def tr(_, message):