Skip to content

salvo-polizzi/Sorteggio-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages