mirror of
https://github.com/studio-neptune/yuuki.git
synced 2024-11-10 17:14:06 +08:00
v6.5.0-alpha_RC4
This commit is contained in:
parent
c32b33e40a
commit
f5598181f8
1 changed files with 3 additions and 3 deletions
|
@ -580,11 +580,11 @@ class Yuuki:
|
|||
self.GroupJoined.remove(GroupID)
|
||||
# Log
|
||||
self.data.updateLog("KickEvent", (self.data.getTime(), GroupInfo.name, GroupID, Kicker, Action, Another, ncMessage.type*10+3))
|
||||
self.data.updateData(self.data.getData("BlackList"), True, Action)
|
||||
# Log
|
||||
if Action not in self.data.getData("BlackList"):
|
||||
self.data.updateData(self.data.getData("BlackList"), True, Action)
|
||||
# Log
|
||||
self.data.updateLog("BlackList", (self.data.getTime(), Action, GroupID))
|
||||
self.sendText(Action, _("You had been blocked by our database."))
|
||||
self.sendText(Action, _("You had been blocked by our database."))
|
||||
elif Security_Access:
|
||||
self.sendText(GroupID, _("DO NOT KICK, thank you ^^"))
|
||||
Kicker = self.kickSomeone(GroupInfo, Action)
|
||||
|
|
Loading…
Reference in a new issue