mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 06:33:49 +00:00
8e29af1875
Support web login
25 lines
469 B
Python
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)
|