From a0938b3406e393bcaf9a02799b6b53731aab6b10 Mon Sep 17 00:00:00 2001 From: Elliott Pardee Date: Thu, 16 Aug 2018 00:21:16 -0400 Subject: [PATCH] Initial commit. --- .gitignore | 115 +++ .idea/OrthoBot.iml | 13 + .idea/dictionaries/elliott.xml | 3 + .idea/inspectionProfiles/Project_Default.xml | 10 + .idea/misc.xml | 4 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 496 +++++++++++++ LICENSE.txt | 674 ++++++++++++++++++ QA.md | 39 + README.md | 95 +++ src/bot.py | 270 +++++++ src/central.py | 160 +++++ src/config.example.ini | 9 + src/extensions/__init__.py | 1 + src/extensions/vylogger.py | 82 +++ src/handlers/__init__.py | 1 + src/handlers/commandlogic/__init__.py | 1 + src/handlers/commandlogic/commandbridge.py | 572 +++++++++++++++ .../commandlogic/settings/__init__.py | 1 + src/handlers/commandlogic/settings/misc.py | 61 ++ src/handlers/commandlogic/strings.json | 32 + src/handlers/commands.py | 191 +++++ 23 files changed, 2844 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/OrthoBot.iml create mode 100644 .idea/dictionaries/elliott.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 LICENSE.txt create mode 100644 QA.md create mode 100644 README.md create mode 100644 src/bot.py create mode 100644 src/central.py create mode 100644 src/config.example.ini create mode 100644 src/extensions/__init__.py create mode 100644 src/extensions/vylogger.py create mode 100644 src/handlers/__init__.py create mode 100644 src/handlers/commandlogic/__init__.py create mode 100644 src/handlers/commandlogic/commandbridge.py create mode 100644 src/handlers/commandlogic/settings/__init__.py create mode 100644 src/handlers/commandlogic/settings/misc.py create mode 100644 src/handlers/commandlogic/strings.json create mode 100644 src/handlers/commands.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1be8789 --- /dev/null +++ b/.gitignore @@ -0,0 +1,115 @@ + +# Created by https://www.gitignore.io/api/git,python + +### Git ### +*.orig + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +.pytest_cache/ +nosetests.xml +coverage.xml +*.cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule.* + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ + +# ignore dbs +databases/db +databases/bandb +databases/guilddb +databases/optoutdb + +# ignore config file +src/config.ini +config.ini diff --git a/.idea/OrthoBot.iml b/.idea/OrthoBot.iml new file mode 100644 index 0000000..96ac86d --- /dev/null +++ b/.idea/OrthoBot.iml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/dictionaries/elliott.xml b/.idea/dictionaries/elliott.xml new file mode 100644 index 0000000..0a60f11 --- /dev/null +++ b/.idea/dictionaries/elliott.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..146ab09 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..18544a5 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..0f3c073 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..ba167c0 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,496 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BibleBot + [x] + biblebot + misc + votd + random + + + + OrthoBot + orthobot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +