Skip to main content

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
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


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)

Uploaded Source

Built Distribution

pyrubi-1.0.3-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page