This Telegram-bot named CuatroVeinteBot sends a random gif from Giphy using the giphy-api to the Telegram chat this bot is at, using the telebot api.
In order to get the bot up and running you would need to clone and install the solution
git clone https://github.com/AlecsisDuarte/CuatroVeinteBot.git
cd CuatroVeinteBot
npm install
then create the .env
file in the root of the project
touch .env
inside the .env
file we add this keys:
GIPHY_TOKEN
: And the Giphy token received when creating an app in developers.giphyTELEGRAM_BOT_TOKEN
: Token received by BotFather using Telegram
and finally just run the node
npm start
Even thought this is a simple and my first telegram-bot I'm thinking on improving the functionality in order to be used by many.
- Get a random gif
- Send gifs to conversation at 4:20 ๐ฟ am and pm
- Add multi-timezone capability ๐
- Store data in SQLite file ๐