16 lines
413 B
Python
16 lines
413 B
Python
import json
|
|
from pathlib import Path
|
|
|
|
from dislash.slash_commands import SlashClient
|
|
from redbot.core.bot import Red
|
|
|
|
from .slots import Slots
|
|
|
|
with open(Path(__file__).parent / "info.json") as fp:
|
|
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
|
|
|
|
|
|
async def setup(bot: Red) -> None:
|
|
bot.add_cog(Slots(bot))
|
|
if not hasattr(bot, "slash"):
|
|
bot.slash = SlashClient(bot)
|