π― CommandΒΆ
how to add command to pyrobale
from pyrobale import Client, Message
token = "YOUR_BOT_TOKEN"
bot = Client(token)
@bot.on_command('start')
async def start(message: Message):
await message.reply("Hello, world!")
bot.run()
how to add command to pyrobale
from pyrobale import Client, Message
token = "YOUR_BOT_TOKEN"
bot = Client(token)
@bot.on_command('start')
async def start(message: Message):
await message.reply("Hello, world!")
bot.run()