Actually send the user id moron
This commit is contained in:
parent
09611fa95a
commit
a85da28ddd
@ -44,7 +44,7 @@ async def check_user_registration(user_id: str, client) -> bool:
|
|||||||
async with r.pipeline(transaction=True) as pipe:
|
async with r.pipeline(transaction=True) as pipe:
|
||||||
user_exists = await pipe.get(user_id).execute()
|
user_exists = await pipe.get(user_id).execute()
|
||||||
if user_exists[0] is None:
|
if user_exists[0] is None:
|
||||||
if check_user_exists() is True:
|
if check_user_exists(user_id) is True:
|
||||||
await pipe.set(user_id, 1)
|
await pipe.set(user_id, 1)
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user