Skip to main content

Asynchronous library for creating bots in the Bale messenger

Project description

Balethon

Asynchronous library for creating bots in the Bale messenger

Usage Example

from balethon import Client

bot = Client("TOKEN")


@bot.on_message()
async def greet(client, message):
    await message.reply("Hello")


bot.run_polling()

You must replace "TOKEN" with the token which @botfather gives you in the Bale messenger

Installing

pip install Balethon

Links

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

Balethon-0.2.1.tar.gz (18.3 kB view hashes)

Uploaded Source

Built Distribution

Balethon-0.2.1-py3-none-any.whl (47.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