From aee0fccc522015858448ba90a2135754b1a09c8a Mon Sep 17 00:00:00 2001 From: Reed Date: Thu, 18 May 2017 11:12:41 -0400 Subject: [PATCH 1/8] Fix getLogger bug No quotation marks were around 'discord' which caused unintended behavior. --- main3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main3.py b/main3.py index fb498df..08f2aba 100644 --- a/main3.py +++ b/main3.py @@ -23,7 +23,7 @@ 'plugins.music.voice', ] -dc_log = logging.getLogger(discord) +dc_log = logging.getLogger('discord') dc_log.setLevel(logging.DEBUG) log = logging.getLogger() log.setLevel(logging.INFO) From cda01a213f845af830c46f251d6d99a1dd665612 Mon Sep 17 00:00:00 2001 From: Reed Date: Thu, 18 May 2017 11:19:34 -0400 Subject: [PATCH 2/8] Fix load_extension error Accidentally misspelled load_extension as load_extention, so no cogs were loaded --- main3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main3.py b/main3.py index 08f2aba..2207d6e 100644 --- a/main3.py +++ b/main3.py @@ -92,7 +92,7 @@ async def on_message(message): fox.commands_used = Counter() for plugin in init_cogs: try: - fox.load_extention(plugin) + fox.load_extension(plugin) except Exception as e: print('Error: failed to load plugin {}\n{}: {}'.format(plugin, type(e).__name__, e)) From d232f7092f520b1b0f79770aa6135f631785e286 Mon Sep 17 00:00:00 2001 From: Reed Date: Fri, 19 May 2017 08:17:30 -0400 Subject: [PATCH 3/8] Adding CircleCI file --- circle.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..2827add --- /dev/null +++ b/circle.yml @@ -0,0 +1,5 @@ +machine: + pre: + - cd /opt/circleci/.pyenv; git pull + python: + version: 3.6.0 From d62e40f09f7967492d082430f783226e1ced46d4 Mon Sep 17 00:00:00 2001 From: Reed Date: Fri, 19 May 2017 08:27:48 -0400 Subject: [PATCH 4/8] Adding test command More just playing around at this point --- circle.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/circle.yml b/circle.yml index 2827add..f8330ad 100644 --- a/circle.yml +++ b/circle.yml @@ -3,3 +3,7 @@ machine: - cd /opt/circleci/.pyenv; git pull python: version: 3.6.0 + +test: + override: + pytest main3.py From c77d18d557e987d594758dfca2083e961800e71e Mon Sep 17 00:00:00 2001 From: Reed Date: Fri, 19 May 2017 08:31:42 -0400 Subject: [PATCH 5/8] Fixing possible bug --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index f8330ad..5d9a407 100644 --- a/circle.yml +++ b/circle.yml @@ -5,5 +5,5 @@ machine: version: 3.6.0 test: - override: + pre: pytest main3.py From 8711b96d976ef878c87b3fb49f2768fc151fa67f Mon Sep 17 00:00:00 2001 From: Reed Date: Fri, 19 May 2017 08:34:17 -0400 Subject: [PATCH 6/8] Update circle.yml --- circle.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/circle.yml b/circle.yml index 5d9a407..2827add 100644 --- a/circle.yml +++ b/circle.yml @@ -3,7 +3,3 @@ machine: - cd /opt/circleci/.pyenv; git pull python: version: 3.6.0 - -test: - pre: - pytest main3.py From 9690d5acb5c9095b67b231e3ce7d946f37d98675 Mon Sep 17 00:00:00 2001 From: Reed Date: Fri, 19 May 2017 08:38:06 -0400 Subject: [PATCH 7/8] Update circle.yml --- circle.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/circle.yml b/circle.yml index 2827add..6315b8f 100644 --- a/circle.yml +++ b/circle.yml @@ -3,3 +3,7 @@ machine: - cd /opt/circleci/.pyenv; git pull python: version: 3.6.0 + +dependencies: + override: + pip install -U pytest From 80e2e45b6a8fffc1eff29f14f90b95581da6a3f8 Mon Sep 17 00:00:00 2001 From: Reed Date: Fri, 19 May 2017 08:42:43 -0400 Subject: [PATCH 8/8] Update circle.yml --- circle.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/circle.yml b/circle.yml index 6315b8f..2827add 100644 --- a/circle.yml +++ b/circle.yml @@ -3,7 +3,3 @@ machine: - cd /opt/circleci/.pyenv; git pull python: version: 3.6.0 - -dependencies: - override: - pip install -U pytest