Skip to content

Commit

Permalink
Uncomment extensions and sync commands on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
SylteA authored Nov 2, 2023
1 parent d10bb93 commit e06b2fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 10 additions & 10 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e06b2fa

Please sign in to comment.