mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-21 18:58:21 +00:00
22 lines
488 B
Python
22 lines
488 B
Python
|
from typing import Callable, Awaitable, Set, Dict
|
||
|
|
||
|
from datetime import datetime, timezone
|
||
|
|
||
|
from os import getcwd
|
||
|
|
||
|
|
||
|
working_dir = getcwd()
|
||
|
# solve same process
|
||
|
read_context = {}
|
||
|
help_messages = {}
|
||
|
hook_functions: Dict[str, Set[Callable[[], Awaitable[None]]]] = {
|
||
|
"startup": set(),
|
||
|
"shutdown": set(),
|
||
|
"command_pre": set(),
|
||
|
"command_post": set(),
|
||
|
"process_error": set(),
|
||
|
"load_plugins_finished": set(),
|
||
|
}
|
||
|
all_permissions = []
|
||
|
start_time = datetime.now(timezone.utc)
|