dragonub / ubot /modules /start.py
dragxd's picture
uploading files
561cd5b
from ubot import *
__MODULE__ = "Emoji"
__HELP__ = """Emoji Help
• Command: <code>{0}setemo</code>
• Explanation: To change the appearance of the ping emoji.
• Command: <code>{0}setemo2</code>
• Explanation: To change the appearance of the ping emoji.
"""
@PY.UBOT("ping", sudo=True)
@ubot.on_message(filters.user(DEVS) & filters.command("ping", "^") & ~filters.me)
async def _(client, message):
await ping_cmd(client, message)
@ubot.on_message(filters.user(DEVS) & filters.command("batu", "") & ~filters.me)
async def _(client, message):
await client.send_reaction(message.chat.id, message.id, "🗿")
@PY.UBOT("setemo", sudo=True)
async def _(client, message):
await set_emoji(client, message)
@PY.UBOT("setemo2", sudo=True)
async def _(client, message):
await set_emoji2(client, message)
@PY.BOT("start")
async def _(client, message):
await start_cmd(client, message)