text: from pikabot import CMD_LIST
  from SysRuntime import *
  from pikabot.main_plugs.plug import *
  import sys
  from telethon import events, functions, __version__
  
  @ItzSjDude(outgoing=True, pattern=r"help ?(.*)")
  async def cmd_list(event):
      if not event.text[0].isalpha() and event.text[0] not in ("/", "#", "@", "!"):
          tgbotusername = Var.TG_BOT_USER_NAME_BF_HER
          input_str = event.pattern_match.group(1)
          if tgbotusername is None or input_str == "text":
              string = ""
              for i in CMD_LIST:
                  string += "\n" + i + "\n"
                  for iter_list in CMD_LIST[i]:
                      string += "    `" + str(iter_list) + "`"
                      string += "\n"
                  string += "\n"
              if len(string) > 4095:
                  with io.BytesIO(str.encode(string)) as out_file:
                      out_file.name = "cmd.txt"
                      await event.client.send_file(
                          event.chat_id,
                          out_file,
                          force_document=True,
                          allow_cache=False,
                          caption="**COMMANDS**",
                          reply_to=reply_to_id
                      )
                      await event.delete()
              else:
                  await event.edit(string)
          elif input_str:
              if input_str in CMD_LIST:
                  string = "Commands found in {}:".format(input_str)
                  for i in CMD_LIST[input_str]:
                      string += "    " + i
                      string += "\n"
                  await event.edit(string)
              else:
                  await event.edit(input_str + " is not a valid plugin!")
          else:
              help_string = f"""Pïkå¢hµ Úsêrßð† {helpstr}"""
              results = await event.client.inline_query(  # pylint:disable=E0602
                  tgbotusername,
                  help_string
              )
              await results[0].click(
                  event.chat_id,
                  reply_to=event.reply_to_msg_id,
                  hide_via=True
              )
              await event.delete()
  
  @ItzSjDude(outgoing=True, pattern="syntax (.*)")
  async def _(event):
      if event.fwd_from:
          return
      plugin_name = event.pattern_match.group(1)
      if plugin_name in CMD_LIST:
          help_string = CMD_LIST[plugin_name]
          unload_string = f"Use `.unload {plugin_name}` to remove this plugin.\n           © Pikabot"
          if help_string:
              plugin_syntax = f"Syntax for plugin **{plugin_name}**:\n\n{help_string}\n{unload_string}"
          else:
              plugin_syntax = f"No DOCSTRING has been setup for {plugin_name} plugin."
      else:
          plugin_syntax = "Enter valid **Plugin** name.\nDo `.plugins` or `.help` to get list of valid plugin names."
      await event.edit(plugin_syntax)
  