Skip to content

Latest commit

 

History

History
39 lines (39 loc) · 1.21 KB

README.md

File metadata and controls

39 lines (39 loc) · 1.21 KB

Telegram Bot

License Language
PyPi PyPI

Installation

Linux:
$ git clone https://github.com/YuriyLisovskiy/TelegramBot.git
$ cd TelegramBot/
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt 
Windows:
$ git clone https://github.com/YuriyLisovskiy/TelegramBot.git
$ cd TelegramBot/ 
$ virtualenv venv 
$ venv/Scripts/activate 
$ pip install -r requirements.txt 

Usage

  • From bot package import Bot:
    from bot.telegram_bot import Bot 
  • Using introduction to bots create bot and get it's token.
  • Create local_settings.py file in bor folder and add TOKEN variable there, example:
    TOKEN = 'bot_token_here' 
Run:
$ python runner.py 

Author

License

This project is licensed under the BSD-2-Clause License - see the LICENSE file for details.