18 lines
422 B
Python
18 lines
422 B
Python
"""Package for BanCheck cog."""
|
|
|
|
import json
|
|
from pathlib import Path
|
|
|
|
from redbot.core.bot import Red
|
|
|
|
from .bancheck import BanCheck
|
|
|
|
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 BanCheck cog."""
|
|
cog = BanCheck(bot)
|
|
await cog.initialize()
|
|
await bot.add_cog(cog)
|