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.13.tar.gz
(53.6 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.13.tar.gz.
File metadata
- Download URL: funpaybotengine-0.1.13.tar.gz
- Upload date:
- Size: 53.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b22d1b6f609ea43c5b6f202eb6e6c77b71daa657a133792012dc2af447080db
|
|
| MD5 |
56eaf614a3f8ad517cb633f9fd4c4b8f
|
|
| BLAKE2b-256 |
75acd7df17d93864cc9f6279e16e75f443d336397c394b8a60fc9c941df4d171
|
File details
Details for the file funpaybotengine-0.1.13-py3-none-any.whl.
File metadata
- Download URL: funpaybotengine-0.1.13-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 |
d98afec5cf8bf3994b8161f17fc6382b10779548833bfa48fb38566f6f0cf0bb
|
|
| MD5 |
280623b130808e4adff0b993a2a19065
|
|
| BLAKE2b-256 |
4d01379762dd906cd0e11151d84b655b77b88edd47d76986c8543163c0719abe
|