mirror of
https://github.com/studio-neptune/yuuki.git
synced 2024-09-21 00:45:57 +08:00
Update
This commit is contained in:
parent
4318832619
commit
500c3dabf2
|
@ -412,6 +412,9 @@ class Yuuki:
|
|||
if ncMessage.message.from_ in GroupPrivilege:
|
||||
self.sendText(self.sendToWho(ncMessage), _("Bye Bye"))
|
||||
self.client.leaveGroup(self.Seq, GroupInfo.id)
|
||||
for userId in self.Connect.helper_ids:
|
||||
if userId in [member.mid for member in GroupInfo.members]:
|
||||
self.getClientByMid(userId).leaveGroup()
|
||||
elif 'Yuuki/Exit' == ncMessage.message.text:
|
||||
if ncMessage.message.from_ in self.Admin:
|
||||
self.sendText(self.sendToWho(ncMessage), _("Exit."))
|
||||
|
|
Loading…
Reference in a new issue