This is a powerful library for building self robots in Rubika
Project description
Pyrubi
Pyrubi is a powerful library for building self robots in Rubika
Pyrubi Library
GitHub
Example:
from pyrubi import Bot, Tools
bot = Bot('TOKEN')
for msg in bot.on_message():
m = Tools.message(msg)
if m.text() == 'Hello':
bot.reply(msg, 'Hello from Pyrubi library')
Async Example:
from pyrubi import Bot_async, Tools
bot = Bot_async('TOKEN')
@bot.on_message
async def update(msg):
m = Tools.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.0.3.tar.gz
(7.1 kB
view hashes)
Built Distribution
pyrubi-1.0.3-py3-none-any.whl
(6.5 kB
view hashes)