bot-python
bot-python copied to clipboard
Flask-style dispatcher
Flask-style dispatcher look pretty and simple. It reduces entry threshold for beginners. It makes code more clear and readable
@bot.message_handler(filters)
def function_name(message):
bot.reply_to(message, "This is a message handler")
Reference: aiogram pyTelegramBotAPI
I actually made this: https://github.com/kamuridesu/ICQBotPy lmao
I actually made this: https://github.com/kamuridesu/ICQBotPy lmao
Actually it looks like even more mess than official library. BTW official library already have this style events dispatcher since long time ago 🤷♂️
I actually made this: https://github.com/kamuridesu/ICQBotPy lmao
Actually it looks like even more mess than official library. BTW official library already have this style events dispatcher since long time ago man_shrugging
As this is my first time programming pip modules and frameworks to be used by other people, the main goal was to gain experience. Can you help me by telling me what's wrong with it and how to improve it?