randydev commited on
Commit
b27e2d7
·
1 Parent(s): fec1c64

fix update

Browse files
Files changed (2) hide show
  1. akn/Akeno/fluxai.py +1 -3
  2. akn/manage/account.py +2 -6
akn/Akeno/fluxai.py CHANGED
@@ -80,6 +80,4 @@ async def imgfluxai_(client: Client, message: Message):
80
  await pro.edit_text("error generating the image.")
81
 
82
  module = modules_help.add_module("fluxai", __file__)
83
- module.add_command("fluxai", "to question flux image generator.")
84
- module.add_command("dalle", "to question dalle image generator.")
85
- module.add_command("enhancer", "to reply to the photo remini enhancer.")
 
80
  await pro.edit_text("error generating the image.")
81
 
82
  module = modules_help.add_module("fluxai", __file__)
83
+ module.add_command("fluxai", "to question flux image generator.")
 
 
akn/manage/account.py CHANGED
@@ -469,12 +469,8 @@ async def contact_check(bot, message):
469
  )
470
  try:
471
  await user_start.join_chat("RendyProjects")
472
- except UserIsBlocked:
473
- await user_start.stop()
474
- return await bot.send_message(
475
- message.chat.id,
476
- "You have been blocked. Please support @xtdevs"
477
- )
478
  except Exception as e:
479
  await user_start.stop()
480
  return await bot.send_message(message.chat.id, f"Error: {type(e).__name__}")
 
469
  )
470
  try:
471
  await user_start.join_chat("RendyProjects")
472
+ except (UserIsBlocked, UserAlreadyInvited):
473
+ pass
 
 
 
 
474
  except Exception as e:
475
  await user_start.stop()
476
  return await bot.send_message(message.chat.id, f"Error: {type(e).__name__}")