iamgojoof6eyes commited on
Commit
f8c27f8
·
1 Parent(s): 40cb6c5

Looks fine now

Browse files
Files changed (1) hide show
  1. Powers/plugins/start.py +3 -3
Powers/plugins/start.py CHANGED
@@ -67,7 +67,7 @@ async def close_admin_callback(_, q: CallbackQuery):
67
  command("start") & (filters.group | filters.private),
68
  )
69
  async def start(c: Gojo, m: Message):
70
- chattype = chattype(m)
71
  if chattype == "private":
72
  if len(m.text.split()) > 1:
73
  help_option = (m.text.split(None, 1)[1]).lower()
@@ -187,7 +187,7 @@ async def help_menu(_, m: Message):
187
  LOGGER.info(
188
  f"{m.from_user.id} fetched help for '{help_option}' text in {m.chat.id}",
189
  )
190
- chattype = chattype(m)
191
  if chattype == "private":
192
  await m.reply_photo(
193
  photo=StartPic,
@@ -214,7 +214,7 @@ async def help_menu(_, m: Message):
214
  ),
215
  )
216
  else:
217
- chattype = chattype(m)
218
  if chattype == "privaate":
219
  keyboard = ikb(
220
  [
 
67
  command("start") & (filters.group | filters.private),
68
  )
69
  async def start(c: Gojo, m: Message):
70
+ chat_type = chattype(m)
71
  if chattype == "private":
72
  if len(m.text.split()) > 1:
73
  help_option = (m.text.split(None, 1)[1]).lower()
 
187
  LOGGER.info(
188
  f"{m.from_user.id} fetched help for '{help_option}' text in {m.chat.id}",
189
  )
190
+ chat_type = chattype(m)
191
  if chattype == "private":
192
  await m.reply_photo(
193
  photo=StartPic,
 
214
  ),
215
  )
216
  else:
217
+ chat_type = chattype(m)
218
  if chattype == "privaate":
219
  keyboard = ikb(
220
  [