Files
multi-bot-tg/app/commands/__init__.py

33 lines
763 B
Python

from app.commands.acl import RuntimeAclStore
from app.commands.builtins import DEFAULT_REGISTRY, command_registry
from app.commands.core import (
CheckResult,
CommandBuilder,
CommandCheck,
CommandContext,
CommandDefinition,
CommandRegistry,
owner_only_check,
require_args_check,
require_reply_check,
shared_access_check,
)
from app.commands.dispatcher import CommandDispatcher
__all__ = [
"CheckResult",
"CommandBuilder",
"CommandCheck",
"CommandContext",
"CommandDefinition",
"CommandDispatcher",
"CommandRegistry",
"DEFAULT_REGISTRY",
"RuntimeAclStore",
"command_registry",
"owner_only_check",
"require_args_check",
"require_reply_check",
"shared_access_check",
]