Fixed restart command #1.1.0.rc2

This commit is contained in:
Sven Heidemann 2023-08-16 18:38:16 +02:00
parent 073c318671
commit 195566a2b6

View File

@ -12,6 +12,7 @@ from bot_core.abc.message_service_abc import MessageServiceABC
from bot_core.helper.command_checks import CommandChecks
from bot_core.logging.command_logger import CommandLogger
from bot_core.service.data_integrity_service import DataIntegrityService
from bot_data.model.technician_config import TechnicianConfig
from modules.permission.abc.permission_service_abc import PermissionServiceABC
@ -25,6 +26,7 @@ class RestartCommand(DiscordCommandABC):
client_utils: ClientUtilsABC,
translate: TranslatePipe,
permissions: PermissionServiceABC,
settings: TechnicianConfig,
data_integrity: DataIntegrityService,
):
DiscordCommandABC.__init__(self)
@ -36,6 +38,7 @@ class RestartCommand(DiscordCommandABC):
self._client_utils = client_utils
self._t = translate
self._permissions = permissions
self._settings = settings
self._data_integrity = data_integrity
self._logger.trace(__name__, f"Loaded command service: {type(self).__name__}")