mirror of
https://github.com/star-inc/star_yuuki_bot.git
synced 2024-11-10 17:25:54 +08:00
v4.5.0-alpha pre-release
This commit is contained in:
parent
02e3967ff6
commit
8def796092
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ class Yuuki:
|
|||
if ncMessage.message.from_ in GroupPrivilege and len(msgSep) == 3:
|
||||
if msgSep[1] == "add":
|
||||
if msgSep[2] in [Member.mid for Member in GroupInfo.members]:
|
||||
if msgSep[2] in self.data.getData("BlackList"):
|
||||
if msgSep[2] in self.data.getGroup(GroupInfo.id)["Ext_Admin"]:
|
||||
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])
|
||||
|
|
Loading…
Reference in a new issue