From a85da28dddaa623fe0d588b5b24e58047b51e754 Mon Sep 17 00:00:00 2001 From: Benjamyn Love Date: Sun, 15 Oct 2023 19:31:01 +1100 Subject: [PATCH] Actually send the user id moron --- slackbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slackbot.py b/slackbot.py index 0890fca..ae96cae 100644 --- a/slackbot.py +++ b/slackbot.py @@ -44,7 +44,7 @@ async def check_user_registration(user_id: str, client) -> bool: async with r.pipeline(transaction=True) as pipe: user_exists = await pipe.get(user_id).execute() 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) return True else: