forked from cswimr/SeaCogs
SeaswimmerTheFsh
3c4fba46b6
- changed how the cog loads, instead of depending on the `PyLavPlayer` cog, it'll just load PyLav from the `__init__.py` file - moved configuration to a separate file - added a configuration menu - added pylav as a dependency in poetry and `info.json` - set repository python version to `>=3.11,<3.12`
12 lines
389 B
Python
12 lines
389 B
Python
from __future__ import annotations
|
|
|
|
from pylav.extension.red.utils.required_methods import pylav_auto_setup
|
|
from pylav.type_hints.bot import DISCORD_BOT_TYPE
|
|
from redbot.core.utils import get_end_user_data_statement
|
|
|
|
from .tts import TTS
|
|
|
|
__red_end_user_data_statement__ = get_end_user_data_statement(__file__)
|
|
|
|
async def setup(bot: DISCORD_BOT_TYPE):
|
|
await pylav_auto_setup(bot, TTS)
|