mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-25 10:44:42 +00:00
20 lines
342 B
Python
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)
|