PagerMaid-Pyro/pagermaid/services/__init__.py
xtaodada a941308d17
Some checks failed
Docker Dev Build / docker build and publish (push) Failing after 13s
Docker Build / docker build and publish (push) Failing after 11s
🔖 Update to v1.5.0
这是一项破坏性变更,目录结构进行了重组,无核心功能变化
2024-09-28 22:01:40 +08:00

20 lines
342 B
Python

from pagermaid.dependence import sqlite, scheduler, client
from ._bot import bot
__all__ = [
"bot",
"sqlite",
"client",
"scheduler",
]
def get(name: str):
data = {
"Client": bot,
"SqliteDict": sqlite,
"AsyncIOScheduler": scheduler,
"AsyncClient": client,
}
return data.get(name)