License |
Language |
---|---|
$ git clone https://github.com/YuriyLisovskiy/TelegramBot.git
$ cd TelegramBot/
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ git clone https://github.com/YuriyLisovskiy/TelegramBot.git
$ cd TelegramBot/
$ virtualenv venv
$ venv/Scripts/activate
$ pip install -r requirements.txt
- 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 inbor
folder and addTOKEN
variable there, example:TOKEN = 'bot_token_here'
$ python runner.py
This project is licensed under the BSD-2-Clause License - see the LICENSE file for details.