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.1.14.tar.gz
(53.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.1.14.tar.gz.
File metadata
- Download URL: funpaybotengine-0.1.14.tar.gz
- Upload date:
- Size: 53.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7141f3e71cbcad55711d648ec652089ae9bfeeb75c96debb388b35856904585a
|
|
| MD5 |
9b9ba512208e7be39a05821f14bf6804
|
|
| BLAKE2b-256 |
efca1a467edcd263805c22814d66b5d95d7ec0b94ca8da5fdda37d230a1c7d2c
|
File details
Details for the file funpaybotengine-0.1.14-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.1.14-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 |
8c2616735d9a61cc6d45dfca01a016701b85ba211d995e70fa8216bf84ec7fe1
|
|
| MD5 |
0d90d44caf404f3a702d3e7ecfe3cb19
|
|
| BLAKE2b-256 |
495b836fccd25490c309b6b1388d5a43b696f5d50a247fbd67af81e5b4ff4d5d
|