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

Super simple Telegram Bot for rolling dices using the new feature [InlineQuery](https://core.telegram.org/bots/api#inlinequery)

License

Notifications You must be signed in to change notification settings

rafaeldelboni/Super-Dice-Roll

Repository files navigation

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.

About

Super simple Telegram Bot for rolling dices using the new feature [InlineQuery](https://core.telegram.org/bots/api#inlinequery)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published