RCON (WIP)

This commit is contained in:
2023-07-31 21:38:08 +03:00
parent 3a42fa13e7
commit ef286b7e03
2 changed files with 154 additions and 60 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ from prompt_toolkit.output.win32 import NoConsoleScreenBufferError
from prompt_toolkit.patch_stdout import patch_stdout
from core import get_logger
from modules.ConsoleSystem import RCON
from modules.ConsoleSystem.RCON import RCONSystem
class Console:
@@ -47,7 +47,7 @@ class Console:
self.add_command("help", self.__create_help_message, i18n.man_message_help, i18n.help_message_help,
custom_completer={"help": {"--raw": None}})
self.completer = NestedCompleter.from_nested_dict(self.__alias)
rcon = RCON
rcon = RCONSystem
rcon.console = self
self.rcon = rcon