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.
-
Install dependencies using Composer:
composer install
-
Copy the sample configuration and update it with your bot credentials:
cp config.php.sample config.php
Edit
config.phpand set your Telegram bot token and other settings.
Run the bot with PHP:
php hook.phpYou 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
- Remove Default Message
- Add /help Command
- Documentation
- Unsubscribe Command
- Old Posts Command
- Old Podcasts Command
- Random Post Command (/random)