fix: Improve command handling and defaults - Add fallback for hybrid commands - Make addmonitor and addrole use defaults - Fix async cog loading

This commit is contained in:
pacnpal
2024-11-15 00:40:12 +00:00
parent fa4c2ec208
commit 1588c5cb96
2 changed files with 25 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ logger = logging.getLogger('VideoArchiver')
def setup(bot):
"""Load the VideoArchiver cog."""
cog = VideoArchiver(bot)
bot.add_cog(cog)
asyncio.create_task(bot.add_cog(cog))
return cog
class VideoArchiver(VideoArchiverCommands):