📍 尝试修复无法退出群组的问题
This commit is contained in:
parent
21d9ad9733
commit
d6a20fd458
@ -111,7 +111,7 @@ async def leave(context):
|
||||
user_id=context.sender_id
|
||||
))
|
||||
except ChatIdInvalidError:
|
||||
await bot(LeaveChannelRequest(chatid))
|
||||
await bot(LeaveChannelRequest(context.chat_id))
|
||||
else:
|
||||
await context.edit("出错了呜呜呜 ~ 当前聊天不是群聊。")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user