Skip to main content

This is a powerful library for building self robots in Rubika

Project description

Pyrubi 1.1.0

Pyrubi is a powerful library for building self robots in Rubika

Pyrubi GitHub

Example:

from pyrubi import Bot, Tools

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

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


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.0.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

pyrubi-1.1.0-py3-none-any.whl (7.2 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