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.5.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.5.tar.gz.
File metadata
- Download URL: funpaybotengine-0.2.5.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 |
cd55e8f2e4be901aa5329beb08a503ce2c9a6f2ae876a73ff58859c76d32eddd
|
|
| MD5 |
e6e456c63ed9b8c666e20d5c5b0db170
|
|
| BLAKE2b-256 |
ce7a62a760260dad6c08b5c6a253331652e57378571b5c36778bb3b3c99d9e91
|
File details
Details for the file funpaybotengine-0.2.5-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.2.5-py3-none-any.whl
- Upload date:
- Size: 96.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c58368c9e8a9606f910a0563efb64d93822fc418bb6adf39ddfdff04b83fce
|
|
| MD5 |
191cc843e734fb4b368c3404d34eefba
|
|
| BLAKE2b-256 |
ad6bac8685e64de51a7d65aae0af69825d57442c90c9de95fccced1a73bd716f
|