added setup functions
This commit is contained in:
parent
45c9b4a137
commit
d5a1785f66
@ -0,0 +1,16 @@
|
||||
"""Package for Dice cog."""
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
from redbot.core.bot import Red
|
||||
|
||||
from .dice import Dice
|
||||
|
||||
with open(Path(__file__).parent / "info.json") as fp:
|
||||
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
|
||||
|
||||
|
||||
def setup(bot: Red) -> None:
|
||||
"""Load Dice cog."""
|
||||
cog = Dice(bot)
|
||||
bot.add_cog(cog)
|
||||
@ -0,0 +1,16 @@
|
||||
"""Package for Dice cog."""
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
from redbot.core.bot import Red
|
||||
|
||||
from .tiamat import Tiamat
|
||||
|
||||
with open(Path(__file__).parent / "info.json") as fp:
|
||||
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
|
||||
|
||||
|
||||
def setup(bot: Red) -> None:
|
||||
"""Load Dice cog."""
|
||||
cog = Tiamat(bot)
|
||||
bot.add_cog(cog)
|
||||
Loading…
x
Reference in New Issue
Block a user