diakonos/autorole/__init__.py

15 lines
364 B
Python
Raw Permalink Normal View History

2024-01-17 00:20:44 -05:00
import json
from pathlib import Path
from .autorole import Autorole
with open(Path(__file__).parent / "info.json") as fp:
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
def setup(bot):
n = Autorole(bot)
bot.add_cog(n)
# bot.add_listener(n._roler, "on_member_join")
# bot.add_listener(n._verify_json, "on_error")