mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
13 lines
346 B
Python
13 lines
346 B
Python
"""VideoArchiver cog for Red-DiscordBot"""
|
|
from redbot.core.bot import Red
|
|
from .video_archiver import VideoArchiver
|
|
|
|
async def setup(bot: Red) -> None:
|
|
"""Load VideoArchiver."""
|
|
cog = VideoArchiver(bot)
|
|
await bot.add_cog(cog)
|
|
# Sync commands with Discord
|
|
if not hasattr(bot, "tree"):
|
|
return
|
|
await bot.tree.sync()
|