Optimized for python 3.6
This project is aimed on creating personal assistants for replying messages about specifics issues.
.
└── friday
├── data
│ └── data.db
├── docs
│ └── CREDITS
├── src
│ ├── __init__.py
│ ├── settings.json
│ └── telegram_replier.py
├── tests
│ └── unittests
│ └── __init__.py
├── .gitignore
├── LICENSE
├── README.md
└── requirements.txt
- data: The data dir. Group of non-script support files.
- docs: The documentation dir.
- src: The scripts & source code dir.
- tests: The unittests dir.
Section aimed on clarifying some running issues.
For running it, at the ~/src
directory just run:
python telegram_replier.py
or, if importing it as a module, just run:
from telegram_replier import echo_message
if __name__ == '__main__':
echo_message('args', 'kwargs')
{
"API_TOKEN": "A12JASBN12JASIJDW12321KN"
}
obs: in order to run this application you must have a json file at
~/src/settings.json
. This json must follow the structure above.