Framework for creating FunPay bots.
Project description
FunpayBotEngine
A modern, easy to use, feature-rich, and async ready API wrapper for Funpay written in Python.
Installing
Python 3.10 or higher is required.
# Using uv
uv add funpaybotengine
# Or using pip
pip install funpaybotengine
Quick Example
import sys
import asyncio
import logging
from funpaybotengine import Bot, Dispatcher
from funpaybotengine.types import Message
bot: Bot = Bot(golden_key='token')
dp: Dispatcher = Dispatcher()
@dp.on_new_message()
async def echo(message: Message):
await message.reply(text='echo')
async def main():
await bot.listen_events(dp)
if __name__ == '__main__':
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
asyncio.run(main())
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
funpaybotengine-0.2.3.tar.gz
(57.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file funpaybotengine-0.2.3.tar.gz.
File metadata
- Download URL: funpaybotengine-0.2.3.tar.gz
- Upload date:
- Size: 57.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69bc4e2ccb4619834817f61003fbb50df067e9b9160ddb013ae4a00a5e1e3afd
|
|
| MD5 |
daffb925b617f5b0fce07ffff2ac0025
|
|
| BLAKE2b-256 |
0395e1fcd07888018f2cf9996900974dba6b83801d1540809f69a93278dbea6e
|
File details
Details for the file funpaybotengine-0.2.3-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.2.3-py3-none-any.whl
- Upload date:
- Size: 95.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8691074c1d61993018b6b9aac56d2da610832fb1608f3c48906cf4e977adc787
|
|
| MD5 |
e3e1ee13e97c24cc42bc804c33cb63de
|
|
| BLAKE2b-256 |
5fb467a814d78cf8dd99909bf974d3f604be7beeaf50884a29900eea6d9d1752
|