From 2dacd20e6ddaa46a3ea84d57e49e230196136f16 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Thu, 29 Feb 2024 02:49:23 -0600 Subject: [PATCH] Mods --- main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.py b/main.py index e9c202f..30e7712 100644 --- a/main.py +++ b/main.py @@ -171,6 +171,11 @@ def update_userlist(message): if name and (name not in userlist): userlist.append(name) + elif event == "exit": + name = message["data"].get("name") + + if name and (name in userlist): + userlist.remove(name) async def run():