PagerMaid-Pyro/pagermaid/services/__init__.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
469 B
Python
Raw Normal View History

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):
2023-03-12 03:56:01 +00:00
data = {
"Client": bot,
"Logger": logs,
"SqliteDict": sqlite,
"AsyncIOScheduler": scheduler,
"AsyncClient": client,
}
return data.get(name)