A Python script to run Honka Says Bot.
This simple script will generate text, place it onto a sticker and send it to you using inline feature.
Its available at https://t.me/honka_says_bot and works in any chat via inline request.
As the Bot API doesn't let you send animated stickers via inline response (yet), we have to use something more powerful, like Telethon. It has the tools we need to create what we need.
This bot uses:
Telethon==1.16.2
lottie==0.6.5
systemd==0.16.1
There is a requirements file to help you with that.
lottie
also uses fonttools
module , so you might install just this or lottie[ALL]
systemd
package is just for convenient logging when you launch the script as a service.
You will also need to register your custom Telegram Client to use it's credentials with Telethon, please refer to it's documentation.
Simply run bot.py
Big thanks to @winsw1n and @BloodyKnight for logic, and @MattBas for his incredible lottie library ❤