Telegram Bot built with python-telegram-bot library. This bot allow to draw one or more participants of a group choosing the number of participants.
If you want to set up a local insance you have to:
- Install system requirements
- Clone this repository
- Send a message to your bot on telegram
- Go inside your personal directory
Sorteggio-Bot
in terminal - Set your token with
python3 setup.py <token>
- Launch the bot with
python3 src/bot.py
- If you don't have a token, send a message to @BotFather to create a bot and get a token for it
- Type the command
\setprivacy
and choose your bot - At the end type disable so that the bot will receive all the message that people send to the group
NOTE: Set up botfather before adding the bot to a group
- python 3
- python-pip3