Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

New main script fixes #3

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
machine:
pre:
- cd /opt/circleci/.pyenv; git pull
python:
version: 3.6.0
4 changes: 2 additions & 2 deletions main3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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))

Expand Down