Super simple Telegram Bot for rolling dices using the new feature
Support send image now
command:
/image
To use this project you need to install Composer
-
Install dependencies via Composer
Navigate to the project folder and execute the following command:
php composer.phar install
Or if composer is installed as Global:
composer install
-
Follow the php-telegram-bot instructions
-
Change the following variables (sethook.php and webhook.php):
$API_KEY = '123456789:your_bot_api_key'; $BOT_NAME = 'name_bot'; $link = 'https://your.domain.com/SuperDiceRoll/webhook.php';
-
Execute the sethook.php and you are done :)
https://you.domain.com/path/to/sethook.php
Super Dice Roll is currently extended with the following plugins:
Icon by delapouite.com Dice images by Wikimedia
Please see the LICENSE included in this repository for a full copy of the MIT license, which this project is licensed under.