[Python] Пишем отмазки в Twitter
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
excuses
.gitignore
README.md
main.py
utils.py

README.md

twitter-excuse

We write random excuse in Twitter

"Excuse" is stored locally in file

To run on your machine, create a .env file next to the main.py and write in this file:

TOKEN = "123456789-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

TOKEN_KEY = "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"

CON_SEC = "aaaaaaaaaaaaaaaaaaaaaaaaa"

CON_SEC_KEY = "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"

It is also necessary to create the folder /logs/ and in this folder you must create a file info.log.

You can independently reconfigure the logging system. It's here is present only for debugging and my interest.

Instead of excuses you can write anything, everything depends on your imagination. The variable replic is filled through the library with utilities, where it adds excuses and my hashtags.