Skip to content

funpayhub/funpaybotengine

Repository files navigation

FunpayBotEngine logo

FunpayBotEngine

Commit activity

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())

About

Powerfull framework for creating FunPay bots.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •