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.2.tar.gz
(53.8 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.2.tar.gz.
File metadata
- Download URL: funpaybotengine-0.2.2.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15cb318ef3f31af7905dfdc1d19841e8ed02dad502fade8ea572da2cba68d703
|
|
| MD5 |
aae67747c5921e130cc60f2ca799a2c4
|
|
| BLAKE2b-256 |
767d711311076f373f592590ce3c95295c6374ff7668c525c48f772d9283a46a
|
File details
Details for the file funpaybotengine-0.2.2-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.2.2-py3-none-any.whl
- Upload date:
- Size: 95.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1090392c0b249c1aaedb03a0a54816efb39151a97018933bcc10d5b13fc23e87
|
|
| MD5 |
062ffa80c42852308920b84c2ee2b0ac
|
|
| BLAKE2b-256 |
224a602bdf66993cea8f0004438f9210abcf0dea6de5f67af2da2271fdefc90e
|