From d602050152e4be7e60b7b234a0d10393d5b5c20b Mon Sep 17 00:00:00 2001 From: Angerstoner Date: Mon, 11 Feb 2019 02:12:48 +0100 Subject: [PATCH] project cleanup --- .gitignore | 1 + commandlist => misc/commandlist | 0 requirements.txt => misc/requirements.txt | 0 reddit.py | 0 goodlife.txt => res/goodlife.txt | 0 manta.txt => res/manta.txt | 0 simon.txt => res/simon.txt | 0 stoll.txt => res/stoll.txt | 0 schneiderbot.py | 8 ++++---- 9 files changed, 5 insertions(+), 4 deletions(-) rename commandlist => misc/commandlist (100%) rename requirements.txt => misc/requirements.txt (100%) create mode 100644 reddit.py rename goodlife.txt => res/goodlife.txt (100%) rename manta.txt => res/manta.txt (100%) rename simon.txt => res/simon.txt (100%) rename stoll.txt => res/stoll.txt (100%) diff --git a/.gitignore b/.gitignore index da3a307..866ed33 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ token prod_token test_token deaths.db +reddit_config # ---> Python # Byte-compiled / optimized / DLL files diff --git a/commandlist b/misc/commandlist similarity index 100% rename from commandlist rename to misc/commandlist diff --git a/requirements.txt b/misc/requirements.txt similarity index 100% rename from requirements.txt rename to misc/requirements.txt diff --git a/reddit.py b/reddit.py new file mode 100644 index 0000000..e69de29 diff --git a/goodlife.txt b/res/goodlife.txt similarity index 100% rename from goodlife.txt rename to res/goodlife.txt diff --git a/manta.txt b/res/manta.txt similarity index 100% rename from manta.txt rename to res/manta.txt diff --git a/simon.txt b/res/simon.txt similarity index 100% rename from simon.txt rename to res/simon.txt diff --git a/stoll.txt b/res/stoll.txt similarity index 100% rename from stoll.txt rename to res/stoll.txt diff --git a/schneiderbot.py b/schneiderbot.py index f125ac6..c4b3dac 100755 --- a/schneiderbot.py +++ b/schneiderbot.py @@ -20,16 +20,16 @@ logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s logger = logging.getLogger(__name__) -with open("stoll.txt", "r") as tmp_file: +with open("res/stoll.txt", "r") as tmp_file: STOLL = tmp_file.readlines() -with open("manta.txt", "r") as tmp_file: +with open("res/manta.txt", "r") as tmp_file: MANTA = tmp_file.readlines() -with open("goodlife.txt", "r") as tmp_file: +with open("res/goodlife.txt", "r") as tmp_file: GOOD_LIFE = tmp_file.readlines() -with open("simon.txt", "r") as tmp_file: +with open("res/simon.txt", "r") as tmp_file: SIMON = tmp_file.readlines()