fix
This commit is contained in:
parent
4ab3371ab4
commit
2faacdacf4
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Reference in a new issue