aboutsummaryrefslogtreecommitdiffstats
path: root/bot/__main__.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-20 02:09:20 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-20 02:09:20 +0100
commit2262f684e03d004ad65bf023eca7e649489b891f (patch)
tree235acdd38426c90dc90b2387ede580883292ee49 /bot/__main__.py
parentMerge branch 'vote-monster-refactor' of https://github.com/dfitzpatrick/hackt... (diff)
Minor changes
Diffstat (limited to 'bot/__main__.py')
-rw-r--r--bot/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index a1484cbc..b2b2c5fd 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -22,10 +22,10 @@ log.info('Start loading extensions from ./bot/cogs/evergreen/')
if __name__ == '__main__':
# Scan for files in the /cogs/ directory and make a list of the file names.
- cogs = [file.stem for file in Path('bot', 'cogs', 'evergreen').glob('*.py') if not file.stem.startswith("__")]
+ cogs = [file.stem for file in Path('bot', 'cogs', 'halloween').glob('*.py') if not file.stem.startswith("__")]
for extension in cogs:
try:
- bot.load_extension(f'bot.cogs.evergreen.{extension}')
+ bot.load_extension(f'bot.cogs.halloween.{extension}')
log.info(f'Successfully loaded extension: {extension}')
except Exception as e:
log.error(f'Failed to load extension {extension}: {repr(e)} {format_exc()}')