aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-04 23:34:18 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-04 23:34:18 +0000
commit6b325e78cbfc04e33e3295bcdf7d1b88b9db2b62 (patch)
treee232b234c837667c33296883bcbafce4fd1fa93a
parentBasic bot framework with three cogs (bot, eval, logging) (diff)
Actually load the eval cog
-rw-r--r--bot/__main__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index 1579b6bd3..7e5269459 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -5,7 +5,13 @@ from discord.ext.commands import AutoShardedBot, when_mentioned_or
bot = AutoShardedBot(command_prefix=when_mentioned_or(">>>", ">>> "))
+# Internal/debug
bot.load_extension("bot.cogs.logging")
+
+# Owner-only
+bot.load_extension("bot.cogs.eval")
+
+# Commands
bot.load_extension("bot.cogs.bot")
bot.run(os.environ.get("BOT_TOKEN"))