A Telegram Bot written with Telegraf's awesome API for sharing digital comics/misc content with your friends/groups.
You need Node.js (> 8) - install the dependencies via
$ npm install
- Make sure you have a token from Telegram. To obtain one, talk to @BotFather on Telegram.
- Save your token inside
config/config.js
~telegramToken
. - Start the bot via
npm start
. - To modify commands, look under
bot.js
. - Logic for fetching comic is separated under
lib/comic.js
. - Logic for fetching other random things is separated under
lib/random.js
- Random comics from Cyanide&Happiness.
- Random comics from XKCD.
- Random comics from Dinocomics.
- Random cats from The Cat API.
- Random two-line jokes from The Oatmeal.
- More coming soon!
Remember to checkout Telegraf documentation. http://telegraf.js.org/
MIT