This commit is contained in:
SuperSonic 2019-08-25 15:30:07 +08:00
parent fc3544d58e
commit a063a5754a
2 changed files with 4 additions and 1 deletions

View file

@ -37,5 +37,6 @@ class English:
"Bye Bye": "Bye Bye",
"Not Found": "Not Found",
"Okay": "Okay",
"Exit.": "Exit."
"Exit.": "Exit.",
"Added": "Added"
}

View file

@ -372,6 +372,8 @@ class Yuuki:
if msgSep[1] == "add":
if msgSep[2] in [Member.mid for Member in GroupInfo.members]:
if msgSep[2] not in self.data.getData("BlackList"):
self.sendText(self.sendToWho(ncMessage), _("Added"))
elif msgSep[2] not in self.data.getData("BlackList"):
self.data.updateData(self.data.getGroup(GroupInfo.id)["Ext_Admin"], True, msgSep[2])
self.sendText(self.sendToWho(ncMessage), _("Okay"))
else: