Skip to content

thekiba/spin_everyday_bot

 
 

Repository files navigation

SpinEverydayBot

Codacy Badge Requirements Status Translation Status

Setting up

  • Check that you have Python 3.6+ and pip installed:
$ python3 --version
Python 3.6.2
$ pip3 --version
pip 9.0.1 from /usr/lib/python3.6/site-packages (python 3.6)
  • Clone the repository
$ git clone https://github.com/evgfilim1/spin_everyday_bot.git
$ cd spin_everyday_bot
  • Copy example config file
$ cp config_example.py config.py

For Windows users: use copy instead of cp

  • Now open config.py in your favourite text editor and change default values to suit your needs
  • Install dependencies
$ pip3 install -U -r requirements.txt

Note: You can install optional dependencies, which are listed in example config file. To do this, append -r requirements-optional.txt to the command:

$ pip3 install -U -r requirements.txt -r requirements-optional.txt

For Windows users: use pip instead of pip3

Running bot:

It is very easy:

$ python3 thebot.py

Also it has command-line arguments:

$ python3 thebot.py --help
usage: thebot.py [-h] [-v] [-m | -M]

SpinEverydayBot -- Telegram bot for daily raffles

optional arguments:
  -h, --help        show this help message and exit
  -v, --version     show program's version number and exit
  -m, --migrate     force migrate data
  -M, --no-migrate  don't migrate data

For Windows users: use python or py instead of python3

Contributing

Feel free to report bugs or propose new features, send pull requests and ask questions on Telegram

About

Telegram Bot for everyday lottery

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%