This is a powerful library for building self robots in Rubika
Project description
Pyrubi 1.1.1
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 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.1.1.tar.gz
(7.8 kB
view hashes)
Built Distribution
pyrubi-1.1.1-py3-none-any.whl
(7.2 kB
view hashes)