mautrix-python/mautrix/bridge/commands/__init__.py

39 lines
683 B
Python

from .handler import (
SECTION_ADMIN,
SECTION_AUTH,
SECTION_GENERAL,
SECTION_RELAY,
CommandEvent,
CommandHandler,
CommandHandlerFunc,
CommandProcessor,
HelpCacheKey,
HelpSection,
command_handler,
)
from .meta import cancel, help_cmd, unknown_command
from . import ( # isort: skip
admin,
clean_rooms,
crypto,
delete_portal,
login_matrix,
manhole,
relay,
)
__all__ = [
"HelpSection",
"HelpCacheKey",
"command_handler",
"CommandHandler",
"CommandProcessor",
"CommandHandlerFunc",
"CommandEvent",
"SECTION_GENERAL",
"SECTION_ADMIN",
"SECTION_AUTH",
"SECTION_RELAY",
]