Skip to content

jaavid/jadibot

Repository files navigation

Dependency Status Tag Release PHP

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

  1. Install dependencies using Composer:

    composer install
  2. Copy the sample configuration and update it with your bot credentials:

    cp config.php.sample config.php

    Edit config.php and 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:

  • /help shows the help
  • /lastpost shows the last post on the blog
  • /podcast lets you play the last podcast

To do

  • Remove Default Message
  • Add /help Command
  • Documentation
  • Unsubscribe Command
  • Old Posts Command
  • Old Podcasts Command
  • Random Post Command (/random)

About

Telegram Bot for jadi.net

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages