Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2024-03-12 23:12:30 +08:00 committed by GitHub
parent 4ab3371ab4
commit 2faacdacf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,9 +167,9 @@ async def _(event: Event):
await bot.call_action('delete_friend', friend_id=event.operator_id)
@bot.on_notice('group_decrease.kick_me')
@bot.on_notice('group_decrease')
async def _(event: Event):
if event.user_id == int(qq_account):
if event.sub_type == 'kick_me':
result = True
if result:
reason = Locale(lang).t('tos.message.reason.kick')