Super simple Telegram Bot for rolling dices using the new feature [InlineQuery](https://core.telegram.org/bots/api#inlinequery)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Commands
cert
.gitignore
.htaccess
LICENSE.md
README.md
composer.json
composer.lock
docker-compose.yaml
dockerfile
logo.png
sethook.php
webhook.php

README.md

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.