jadibot
Telegram Bot for jadi.net. This is a single purpose program which lets you interact with www.Jadi.net using Telegram messenger; although you can modify it to use other weblogs or even sites.
Installation
-
Install dependencies using Composer:
composer install -
Copy the sample configuration and update it with your bot credentials:
cp config.php.sample config.phpEdit
config.phpand set your Telegram bot token and other settings.
Usage
Run the bot with PHP:
php hook.php
You can also host hook.php on a web server and set it as the Telegram webhook.
If you simply want to use the public instance of JadiBot, head to https://t.me/jadibot and start with /start to see the list of commands.
These commands are available:
/helpshows the help/lastpostshows the last post on the blog/podcastlets you play the last podcast
To do
- [x] Remove Default Message
- [x] Add /help Command
- [ ] Documentation
- [ ] Unsubscribe Command
- [ ] Old Posts Command
- [ ] Old Podcasts Command
- [x] Random Post Command (/random)