This is a powerful library for building self robots in Rubika
Project description
Pyrubi 1.2.1
Pyrubi is a powerful library for building self robots in Rubika
Pyrubi is a powerful library for building self robots in Rubika
Example:
from pyrubi import Bot, Message
bot = Bot('TOKEN')
for msg in bot.on_message():
m = Message(msg)
if m.text() == 'Hello':
bot.reply(msg, 'Hello from Pyrubi Library')
Async Example:
from pyrubi import Bot_async, Message
bot = Bot_async('TOKEN')
@bot.on_message
async def update(msg):
m = Message(msg)
if m.text() == 'Hello':
await bot.reply(msg, 'Hello from Pyrubi Library')
Features
Fast, Easy, Async, Powerful
Installing
python -m pip install -U pyrubi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrubi-1.2.1.tar.gz
(8.5 kB
view hashes)
Built Distribution
pyrubi-1.2.1-py3-none-any.whl
(7.9 kB
view hashes)