mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 23:27:47 +00:00
19 lines
312 B
Python
19 lines
312 B
Python
from dataclasses import dataclass
|
|
from typing import Any
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from tunebot import ServiceBase
|
|
|
|
AnyDict = dict[Any, Any]
|
|
|
|
|
|
@dataclass
|
|
class PluginInstance:
|
|
config: AnyDict
|
|
services: list["ServiceBase"]
|
|
cogs: list[str]
|
|
|
|
|
|
__all__ = ("PluginInstance",)
|