Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 920 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 920 Bytes

balepy

background

Balepy a Python Library for create bot API in bale messenger

Install and Update:

pip install -U balepy

START:

from balepy import Client
from asyncio import run


__token = 'your-token-here'
client = Client(__token, timeout=10)

@client.on_message
async def main(message):
    if message.text == "/start":
        await message.reply('hello __from__ **balepy**')


if __name__ == '__main__':
    run(main())

Thanks to all those who contributed directly or indirectly to the development of the module