text: """Emoji
  
  Available Commands:
  
  .padmin thanks @r4v4n4 ..."""
  
  import asyncio
  
  from telethon import events
  
  
  @borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))
  async def _(event):
  
      if event.fwd_from:
  
          return
  
      input_str = event.pattern_match.group(1)
  
      if input_str == "padmin":
  
          await event.edit(input_str)
  
          animation_chars = [
              "**Promoting User As Admin...**",
              "**Enabling All Permissions To User...**",
              "**(1) Send Messages: ☑️**",
              "**(1) Send Messages: ✅**",
              "**(2) Send Media: ☑️**",
              "**(2) Send Media: ✅**",
              "**(3) Send Stickers & GIFs: ☑️**",
              "**(3) Send Stickers & GIFs: ✅**",
              "**(4) Send Polls: ☑️**",
              "**(4) Send Polls: ✅**",
              "**(5) Embed Links: ☑️**",
              "**(5) Embed Links: ✅**",
              "**(6) Add Users: ☑️**",
              "**(6) Add Users: ✅**",
              "**(7) Pin Messages: ☑️**",
              "**(7) Pin Messages: ✅**",
              "**(8) Change Chat Info: ☑️**",
              "**(8) Change Chat Info: ✅**",
              "**Permission Granted Successfully**",
              "**pRoMoTeD SuCcEsSfUlLy bY: @NeoMatrix90**",
          ]
  
          animation_interval = 1
  
          animation_ttl = range(20)
  
          for i in animation_ttl:
  
              await asyncio.sleep(animation_interval)
  
              await event.edit(animation_chars[i % 20])
  