Update __init__.py

This commit is contained in:
HibiKier 2021-11-18 14:41:54 +08:00 committed by GitHub
parent 955a1f8a7f
commit 3a4378e4c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,6 @@ exists_data = {"private": {}, "group": {}}
@friend_req.handle()
async def _(bot: Bot, event: FriendRequestEvent, state: dict):
print(event)
global exists_data
if exists_data["private"].get(event.user_id):
if time.time() - exists_data["private"][event.user_id] < 60 * 5: