mirror of
https://github.com/star-inc/star_yuuki_bot.git
synced 2024-09-20 14:56:19 +08:00
Fix
This commit is contained in:
parent
7810d56de3
commit
90bdeebd57
|
@ -513,10 +513,10 @@ class Yuuki:
|
|||
# Log
|
||||
self.data.updateLog("KickEvent", (self.data.getTime(), GroupInfo.name, GroupID, Kicker, Action, Another, ncMessage.type*10+2))
|
||||
if GroupInfo.preventJoinByTicket:
|
||||
self.changeGroupUrlStatus(GroupInfo, True)
|
||||
self.changeGroupUrlStatus(GroupInfo, True, Kicker)
|
||||
GroupTicket = self.getClientByMid(Kicker).reissueGroupTicket(GroupID)
|
||||
if GroupInfo.preventJoinByTicket:
|
||||
self.changeGroupUrlStatus(GroupInfo, False)
|
||||
self.changeGroupUrlStatus(GroupInfo, False, Kicker)
|
||||
self.getClientByMid(Another).acceptGroupInvitationByTicket(self.Seq, GroupID, GroupTicket)
|
||||
except:
|
||||
# Log
|
||||
|
|
Loading…
Reference in a new issue