diff --git a/videoarchiver/commands.py b/videoarchiver/commands.py index 93b01dc..ab1156b 100644 --- a/videoarchiver/commands.py +++ b/videoarchiver/commands.py @@ -17,8 +17,8 @@ class VideoArchiverCommands(commands.Cog): async def cog_load(self) -> None: """Initialize commands when cog loads""" - # Ensure all commands are synced for slash command support - await self.bot.sync_commands() + # Red-DiscordBot handles command syncing automatically + pass @commands.hybrid_group(name="videoarchiver", aliases=["va"]) @commands.guild_only() diff --git a/videoarchiver/video_archiver.py b/videoarchiver/video_archiver.py index 70515d3..7067bff 100644 --- a/videoarchiver/video_archiver.py +++ b/videoarchiver/video_archiver.py @@ -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")