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.1.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.1.tar.gz.
File metadata
- Download URL: funpaybotengine-0.2.1.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 |
5b27365e8ad57efa3315c5694a4e3482114a5164ffc3f284bc40dced7a6afcb6
|
|
| MD5 |
4a5d7d0c1050ae679a27ee8c6dbd3bf3
|
|
| BLAKE2b-256 |
04f29a3d07f49522069556afe667939d204f31ef7a5e1f0eabbcd223d41d64d0
|
File details
Details for the file funpaybotengine-0.2.1-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.2.1-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 |
663d62821578dd07068e763e77dd413f03bb3b2cb069366ec85b123f03459989
|
|
| MD5 |
8d9aea7553d587b90bb1140fc16a5c46
|
|
| BLAKE2b-256 |
a146e7144ab38d53299baf36e8d5de2fd72cdcbbb4c70a87de824ff77b7a49b8
|