Files
scrapyard-cogworks/albumoftheday/__init__.py
T

17 lines
406 B
Python

"""Package for AlbumOfTheDay cog."""
import json
from pathlib import Path
from redbot.core.bot import Red
from .albumoftheday import AlbumOfTheDay
with Path(__file__).parent.joinpath("info.json").open() as fp:
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
async def setup(bot: Red) -> None:
"""Load AlbumOfTheDay cog."""
await bot.add_cog(AlbumOfTheDay(bot))