Captain Ezio commited on
Commit
2ff9c35
·
1 Parent(s): 681c445

Update utils.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/utils.py +3 -1
Powers/plugins/utils.py CHANGED
@@ -401,11 +401,13 @@ async def reporting_query(c: Gojo, m: Message):
401
  txt = repl.text.html
402
  z = await c.send_message(MESSAGE_DUMP,txt,parse_mode=enums.ParseMode.HTML)
403
  await z.reply_text(f"#BUG\nReported by: {m.from_user.id} ({m.from_user.mention})")
404
- await m.reply_text("Successfully reported your bug",reply_markup=kb)
 
405
  ppost = z.link
406
  await c.send_message(OWNER_ID,f"New bug report\n{ppost}",disable_web_page_preview=True)
407
  return
408
 
 
409
  __PLUGIN__ = "utils"
410
  _DISABLE_CMDS_ = ["paste", "wiki", "id", "gifid", "tr", "github", "git", "bug"]
411
  __alt_name__ = ["util", "misc", "tools"]
 
401
  txt = repl.text.html
402
  z = await c.send_message(MESSAGE_DUMP,txt,parse_mode=enums.ParseMode.HTML)
403
  await z.reply_text(f"#BUG\nReported by: {m.from_user.id} ({m.from_user.mention})")
404
+ await repl.delete()
405
+ await m.reply_photo(photo="./extras/Fire.jpg",caption="Successfully reported your bug",reply_markup=kb)
406
  ppost = z.link
407
  await c.send_message(OWNER_ID,f"New bug report\n{ppost}",disable_web_page_preview=True)
408
  return
409
 
410
+
411
  __PLUGIN__ = "utils"
412
  _DISABLE_CMDS_ = ["paste", "wiki", "id", "gifid", "tr", "github", "git", "bug"]
413
  __alt_name__ = ["util", "misc", "tools"]