Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.02 KB

Sorteggio-Bot

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.


Setting up a local instance

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

Set up Botfather

  • 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

Systems requirements

  • python 3
  • python-pip3