PagerMaid-Pyro/pagermaid/services/__init__.py
omg-xtao 8e29af1875
🔖 Update to v1.4.0
Support web login
2023-06-20 17:02:18 +08:00

25 lines
469 B
Python

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