Skip to content

Telegram Bot made in Python to automate different tasks of Python Canarias

License

Notifications You must be signed in to change notification settings

pythoncanarias/pydeckard

Repository files navigation

PyDeckard

Telegram Bot made in Python to automate different tasks of Python Canarias.

RickDeckard

"I've seen things you people wouldn't believe"
In honour of Rick Deckard from Blade Runner.

Installation

Create a virtualenv for Python3 and install dependencies. In this example we are using pyenv:

$ pyenv virtualenv 3.12.4 pydeckard
$ pyenv activate pydeckard
$ pip install -r requirements.txt

A developer needs to install a few more packages:

$ pip install -r dev-requirements.txt

Next step is to set your bot token for development:

$ echo 'TELEGRAM_BOT_TOKEN = "<token of your dev bot>"' > .env

Now you can launch the bot with:

$ python bot.py

You can use the flag --verbose (or `-v') to get more information in rhe console:

$ python bot.py --verbose

Tests

Use pytest:

$ python -m pytest

About

Telegram Bot made in Python to automate different tasks of Python Canarias

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published