mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-21 11:21:07 -05:00
fix: Remove manual command syncing and let Red-DiscordBot handle it
This commit is contained in:
@@ -124,9 +124,6 @@ class VideoArchiver(VideoArchiverCommands):
|
||||
# Wait for initialization to complete
|
||||
await asyncio.wait_for(self.ready.wait(), timeout=30)
|
||||
|
||||
# Sync commands for slash command support
|
||||
await self.bot.sync_commands()
|
||||
|
||||
except asyncio.TimeoutError:
|
||||
await self._cleanup()
|
||||
raise ProcessingError("Cog initialization timed out")
|
||||
|
||||
Reference in New Issue
Block a user