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.4.tar.gz
(58.0 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.4.tar.gz.
File metadata
- Download URL: funpaybotengine-0.2.4.tar.gz
- Upload date:
- Size: 58.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cab0d20875d66d9cfc5cfeae99c00dccd8f30b0973b68debc98605686bf77173
|
|
| MD5 |
e9f326ea691228b3f886a94735b643b2
|
|
| BLAKE2b-256 |
8f3032d9825354b001f5e4d481e4ee46b544ed872d6e88b9926c1f54e8039289
|
File details
Details for the file funpaybotengine-0.2.4-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.2.4-py3-none-any.whl
- Upload date:
- Size: 96.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e405a97241331b8fb9193cc0373ea1fbd0392d62f349f50b2ba19a0daa48ed8
|
|
| MD5 |
b3d7eb0efe9f69e17c76c510143c627f
|
|
| BLAKE2b-256 |
13e3cfad91ed3ce4db6d91afafa0a7a6c6023a619f09d2773945fdd8eed81557
|