mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
fix: Update cog initialization
- Added proper Red-DiscordBot cog setup - Added end user data statement - Improved module organization
This commit is contained in:
@@ -1 +1,11 @@
|
|||||||
"""VideoArchiver cog for Red-DiscordBot"""
|
"""VideoArchiver cog for Red-DiscordBot"""
|
||||||
|
|
||||||
|
from redbot.core.bot import Red
|
||||||
|
from redbot.core.utils import get_end_user_data_statement
|
||||||
|
|
||||||
|
from .video_archiver import VideoArchiver
|
||||||
|
|
||||||
|
__red_end_user_data_statement__ = get_end_user_data_statement(__file__)
|
||||||
|
|
||||||
|
async def setup(bot: Red):
|
||||||
|
await bot.add_cog(VideoArchiver(bot))
|
||||||
|
|||||||
Reference in New Issue
Block a user