Skip to content

Commit

Permalink
pylav_auto_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
karlsbjorn committed Apr 16, 2024
1 parent 528015a commit b3dc8f4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pylavrpc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import json
from pathlib import Path

from pylav.extension.red.utils.required_methods import pylav_auto_setup

from .pylavrpc import PyLavRPC

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):
await bot.add_cog(PyLavRPC(bot))
await pylav_auto_setup(bot, PyLavRPC)

0 comments on commit b3dc8f4

Please sign in to comment.