Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Latest commit

 

History

History
57 lines (39 loc) · 1.58 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.58 KB

Telegram Bot: Super Dice Roll

Super simple Telegram Bot for rolling dices using the new feature

Support send image now

command:
    /image 

InlineQuery

Superdiceroll_bot

imagebot

Requirements

To use this project you need to install Composer

Installation

  1. 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
    
  2. Follow the php-telegram-bot instructions

  3. 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';
    
  4. Execute the sethook.php and you are done :)

    https://you.domain.com/path/to/sethook.php
    

Plugins

Super Dice Roll is currently extended with the following plugins:

Credits

Icon by delapouite.com Dice images by Wikimedia

License

Please see the LICENSE included in this repository for a full copy of the MIT license, which this project is licensed under.