diff options
author | 2018-11-20 02:09:20 +0100 | |
---|---|---|
committer | 2018-11-20 02:09:20 +0100 | |
commit | 2262f684e03d004ad65bf023eca7e649489b891f (patch) | |
tree | 235acdd38426c90dc90b2387ede580883292ee49 /bot/__main__.py | |
parent | Merge branch 'vote-monster-refactor' of https://github.com/dfitzpatrick/hackt... (diff) |
Minor changes
Diffstat (limited to 'bot/__main__.py')
-rw-r--r-- | bot/__main__.py | 4 |
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()}') |