From e06b2fa854f8aa4388370bf892f83c8b79a49d9d Mon Sep 17 00:00:00 2001 From: Sylte Date: Thu, 2 Nov 2023 13:41:58 +0100 Subject: [PATCH] Uncomment extensions and sync commands on startup --- bot/core.py | 2 +- cli.py | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bot/core.py b/bot/core.py index 618ddd9b..f3a14134 100644 --- a/bot/core.py +++ b/bot/core.py @@ -57,7 +57,7 @@ async def when_online(self): await self.wait_until_ready() await self.load_extensions() - # await self.sync_commands() + await self.sync_commands() async def load_extensions(self): for ext in self.initial_extensions: diff --git a/cli.py b/cli.py index 34c6c97d..7908687f 100644 --- a/cli.py +++ b/cli.py @@ -130,17 +130,17 @@ async def main(ctx): prefixes = ("t.",) extensions = ( "jishaku", - # "bot.extensions.challenges", - # "bot.extensions.readthedocs", - # "bot.extensions.suggestions", - # "bot.extensions.github", - # "bot.extensions.tags", - # "bot.extensions.levelling", - # "bot.extensions.persistent_roles", + "bot.extensions.challenges", + "bot.extensions.readthedocs", + "bot.extensions.suggestions", + "bot.extensions.github", + "bot.extensions.tags", + "bot.extensions.levelling", + "bot.extensions.persistent_roles", "bot.extensions.polls", - # "bot.cogs._help", - # "bot.cogs.clashofcode", - # "bot.cogs.roles", + "bot.cogs._help", + "bot.cogs.clashofcode", + "bot.cogs.roles", ) intents = discord.Intents.all()