From b4f8f47ebc8b6c1a5a4f9b665bb13da283a7cea6 Mon Sep 17 00:00:00 2001 From: SuperSonic Date: Wed, 26 Feb 2020 06:41:19 +0800 Subject: [PATCH] Update command.py --- libs/events/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/events/command.py b/libs/events/command.py index 464f1cf..f084b02 100644 --- a/libs/events/command.py +++ b/libs/events/command.py @@ -300,7 +300,7 @@ class Yuuki_Command: ncMessage), self.Yuuki.get_text("Exit.")) self.Yuuki.exit() - def _Com(self, ncMessage): + def _SystemCall(self, ncMessage): msgSep = ncMessage.message.text.split(" ") if ncMessage.message.from_ in self.Yuuki.Admin: # noinspection PyBroadException @@ -330,7 +330,7 @@ class Yuuki_Command: 'GroupBackup': self._GroupBackup, 'Quit': self._Quit, 'Exit': self._Exit, - 'Com': self._Com, + 'SystemCall': self._SystemCall, } if Yuuki_Name == msgSep[0] and msgSep[1] in actions: actions[msgSep[1]](ncMessage)