randydev commited on
Commit
73791b3
·
verified ·
1 Parent(s): ef21dc3
Files changed (1) hide show
  1. akn/AllDownloaderBot/main.py +1 -1
akn/AllDownloaderBot/main.py CHANGED
@@ -331,7 +331,7 @@ async def mode_button(client, message: Message):
331
  is_sudo = await db.get_alldlbot_sudouser(client.me.id, message.from_user.id)
332
  protect_own = await db.get_alldlbot_by_user_id(message.from_user.id, client.me.id)
333
  if not protect_own and not is_sudo:
334
- return await m.reply_text("You are not allowed here.") # type: ignore
335
 
336
  if len(message.command) < 2:
337
  return await message.reply_text(f"**Please provide a cmd /nobutton on/off to start button disabled or enabled")
 
331
  is_sudo = await db.get_alldlbot_sudouser(client.me.id, message.from_user.id)
332
  protect_own = await db.get_alldlbot_by_user_id(message.from_user.id, client.me.id)
333
  if not protect_own and not is_sudo:
334
+ return await message.reply_text("You are not allowed here.") # type: ignore
335
 
336
  if len(message.command) < 2:
337
  return await message.reply_text(f"**Please provide a cmd /nobutton on/off to start button disabled or enabled")