/tg-duel-bot

A telegram bot that uses animated telegram emojis to compete in simple duels in groups.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Telegram Duel Bot

GitHub Pipenv locked Python version GitHub Pipenv locked dependency version GitHub code size in bytes GitHub

A telegram bot that uses animated telegram emojis to compete in simple duels in groups.

This bot uses my base tg-bot-bootstrap.

Features

  • all the basic features of tg-bot-bootstrap
  • dueling system
  • reactions to animated emojis
  • group settings
  • group and global stats

How to use

Config

  1. add the bot to a group
  2. use /settings to open group settings privately

Reaction

  1. use /addreaction (level) (text

    level = 1 the user makes the minimum of points

    level = 2 the user makes the most

  2. use /reaction to manage the added reactions

Stats

  1. use /stats to see the group stats
  2. use /globalstats to see the global stats or use inline_mode

Duel

  1. use /duel to ask in general to be challenged
  2. use /duel @username or reply to a message to challenge a particular person

Installation

Clone this repo:

git clone https://github.com/Nikappa57/tg-duel-bot.git

Install requirements.

pipenv install
pipenv shell

Setup

Create .env with your bot token

TOKEN=yourtoken

Now you should be able to start your bot.

python run.py