"""COMMAND : .eye"""

from telethon import events

import asyncio

from userbot.utils import admin_cmd



@borg.on(admin_cmd(pattern="eye"))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 3

    animation_ttl = range(0, 103)

    #input_str = event.pattern_match.group(1)

    #if input_str == "eye":

    await event.edit("ðŸ‘�ðŸ‘�")

    animation_chars = [

            "ðŸ‘�ðŸ‘�\n  ðŸ‘„  =====> Abey Ja Na Gandu",
            "ðŸ‘�ðŸ‘�\n  ðŸ‘…  =====> Abey Ja Na Madarchod",    
            "ðŸ‘�ðŸ‘�\n  ðŸ’‹  =====> Abey Ja Na Randi",
            "ðŸ‘�ðŸ‘�\n  ðŸ‘„  =====> Abey Ja Na Betichod",
            "ðŸ‘�ðŸ‘�\n  ðŸ‘…  =====> Abey Ja Na Behenchod",    
            "ðŸ‘�ðŸ‘�\n  ðŸ’‹  =====> Abey Ja Na Na Mard",
            "ðŸ‘�ðŸ‘�\n  ðŸ‘„  =====> Abey Ja Na Randi",
            "ðŸ‘�ðŸ‘�\n  ðŸ‘…  =====> Abey Ja Na Bhosdk",    
            "ðŸ‘�ðŸ‘�\n  ðŸ’‹  =====> Abey Ja Na Chutiye",
            "ðŸ‘�ðŸ‘�\n  ðŸ‘„  =====> Hi All, How Are You Guys..."
        ]

    for i in animation_ttl:

        await asyncio.sleep(animation_interval)

        await event.edit(animation_chars[i % 103])
