mirror of
https://github.com/hyper-neptune/yuuki.git
synced 2024-12-26 06:40:57 +08:00
Update command.py
This commit is contained in:
parent
3b6f69b1bf
commit
b4f8f47ebc
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue