https://github.com/fredmaggiowski/xkcd-telegram-bot
Unofficial xkcd telegram bot.
https://github.com/fredmaggiowski/xkcd-telegram-bot
bot telegram telegram-bot xkcd xkcd-telegram-bot
Last synced: 8 months ago
JSON representation
Unofficial xkcd telegram bot.
- Host: GitHub
- URL: https://github.com/fredmaggiowski/xkcd-telegram-bot
- Owner: fredmaggiowski
- Created: 2015-11-19T17:00:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T11:32:12.000Z (about 7 years ago)
- Last Synced: 2025-01-11T08:44:52.307Z (over 1 year ago)
- Topics: bot, telegram, telegram-bot, xkcd, xkcd-telegram-bot
- Language: JavaScript
- Size: 32.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xkcd Telegram bot
## Thanks to Randall Munroe for all the fun
All contents come from [xkcd.com](http://xkcd.com)
Chat with [@xkcd_unofficial_bot](https://telegram.me/xkcd_unofficial_bot)
# Commands
- `/latest`
- `/random`
- `/getxkcd N` (specify a number, e.g. `/getxkcd 30`)
- `/now`
# Configuration
The configuration file must be placed in **config/** directory and must be named **config.json**. Look at the **config/sample-config.json** to know what you should and shouldn't config!
By the way, here there's a list:
- Bot token
- Host server and Web Hook
- SSL certificate and key directory
- Latest comic polling rate
# Available debug envvars
- 'debug'
- 'cmd'
- 'request'
Debug usage:
$ DEBUG='debug|cmd|request' node index.js