mirror of
https://github.com/star-inc/star_yuuki_bot.git
synced 2024-09-20 23:06:22 +08:00
Update
This commit is contained in:
parent
fc3544d58e
commit
a063a5754a
|
@ -37,5 +37,6 @@ class English:
|
|||
"Bye Bye": "Bye Bye",
|
||||
"Not Found": "Not Found",
|
||||
"Okay": "Okay",
|
||||
"Exit.": "Exit."
|
||||
"Exit.": "Exit.",
|
||||
"Added": "Added"
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue