text: # Copyright (C) 2020 TeamDerUntergang.
  #
  # Licensed under the Raphielscape Public License, Version 1.d (the "License");
  # you may not use this file except in compliance with the License.
  #
  
  # @Qulec tarafından yazılmıştır.
  # Thanks @Spechide.
  
  import logging
  
  from telethon.errors.rpcerrorlist import BotInlineDisabledError
  
  from userbot import bot, BOT_TOKEN, BOT_USERNAME
  from userbot.events import geezbot_cmd
  
  logging.basicConfig(
      format="[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s",
      level=logging.WARNING)
  
  
  @bot.on(geezbot_cmd(outgoing=True, pattern=r"helpme"))
  async def yardim(event):
      tgbotusername = BOT_USERNAME
      if tgbotusername and BOT_TOKEN:
          try:
              results = await event.client.inline_query(tgbotusername, "@UltramenUserbot")
          except BotInlineDisabledError:
              return await event.edit(
                  "`Bot can't be used in inline mode.\nMake sure to turn on inline mode!`"
              )
          await results[0].click(
              event.chat_id, reply_to=event.reply_to_msg_id, hide_via=True
          )
          await event.delete()
      else:
          return await event.edit(
              "`The bot doesn't work! Please set the Bot Token and Username correctly.`"
              "\n`The module has been stopped.`"
          )
  