Skip to content

botgram/png-from-sticker-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

png-from-sticker-bot

Very simple bot that, when sent a sticker, converts it to a .png image.
Use it at @png_from_sticker_bot!

Has support for caching, so that when sent a sticker that has already been converted, it re-sends the converted image directly from Telegram.

This is part of the Botgram project.

Installing

Clone this repo and install dependencies as usual:

git clone https://github.com/botgram/png-from-sticker-bot.git
npm install

Create the config file:

cp config.js.example config.js
edit config.js  # Set bot token

Then, npm start or run the server.js script to start the bot. We recommend using PM2.

Make sure to delete cache.db if you run this with another Telegram bot!

About

🤖 Simple bot that converts stickers to .png images

Resources

License

Stars

Watchers

Forks

Packages

No packages published