Hi, this is my GitActions project.
A Telegram Bot will receive a random Programming Joke 3 times a day.
- - Save jokes in a json file
- - Write javascript code to extract a random joke
- - Chat with @BotFather to create a bot
- - Save API keys and your telegram userID
- - Install both packages using yarn/npm
- - Create a .env file to save the telegram token and telegram chat id
- - Add "send message" function to the code
- - Test the Bot on local machine
- - upload files
- - in yaml file, install node, run index.js and set env to extract keys from secrets
- - store telegram API key and teltegram id in github secrets
- - schdule to run on 9am, 12pm and 5pm
update