<filename>stdplugins/BotHub.py
"""Use cmd .bothub , .armor , .love , .hero and check what happens"""

from telethon import events

import asyncio





@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "bothub":

        await event.edit(input_str)

        animation_chars = [

            "B_",

            "BO_",

            "BOT_",

            "BOT__",
            
            "BOTH_",
            
            "BOTHU_",
            
            "BOTHUB", 
           
            "BOTHUB",

        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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


@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "armor":

        await event.edit(input_str)

        animation_chars = [

            "A_",

            "AR_",

            "ARM_",

            "ARMO_",
            
            "ARMOR_",
            
            "ARMOR🛡_",
            
            ".🛡🛡🛡🛡🛡🛡🛡.",

        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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



"""Emoji

Available Commands:

.emoji shrug

.emoji apple

.emoji :/

.emoji -_-"""

from telethon import events

import asyncio





@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "love":

        await event.edit(input_str)

        animation_chars = [

            "L_",

            "LO_",

            "LOV_",

            "LOVE_",
            
            "LOVE❤️",
            
            "❤️❤️❤️❤️",
            
        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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

@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "hero":

        await event.edit(input_str)

        animation_chars = [

            "H_",

            "HE_",

            "HER_",

            "HERO_",
            
            "HERO💪🏻💪",
            
            "💪🏻<NAME>💪🏻",
            
        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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

<filename>stdplugins/BotHub.py
"""Use cmd .bothub , .armor , .love , .hero and check what happens"""

from telethon import events

import asyncio





@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "bothub":

        await event.edit(input_str)

        animation_chars = [

            "B_",

            "BO_",

            "BOT_",

            "BOT__",
            
            "BOTH_",
            
            "BOTHU_",
            
            "BOTHUB", 
           
            "BOTHUB",

        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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


@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "armor":

        await event.edit(input_str)

        animation_chars = [

            "A_",

            "AR_",

            "ARM_",

            "ARMO_",
            
            "ARMOR_",
            
            "ARMOR🛡_",
            
            ".🛡🛡🛡🛡🛡🛡🛡.",

        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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



"""Emoji

Available Commands:

.emoji shrug

.emoji apple

.emoji :/

.emoji -_-"""

from telethon import events

import asyncio





@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "love":

        await event.edit(input_str)

        animation_chars = [

            "L_",

            "LO_",

            "LOV_",

            "LOVE_",
            
            "LOVE❤️",
            
            "❤️❤️❤️❤️",
            
        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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

@borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True))

async def _(event):

    if event.fwd_from:

        return

    animation_interval = 0.5

    animation_ttl = range(0, 101)

    input_str = event.pattern_match.group(1)

    if input_str == "hero":

        await event.edit(input_str)

        animation_chars = [

            "H_",

            "HE_",

            "HER_",

            "HERO_",
            
            "HERO💪🏻💪",
            
            "💪🏻<NAME>💪🏻",
            
        ]

        for i in animation_ttl:

            await asyncio.sleep(animation_interval)

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

Use cmd .bothub , .armor , .love , .hero and check what happens Emoji  Available Commands:  .emoji shrug  .emoji apple  .emoji :/  .emoji -_-