This commit is contained in:
Auric Vente 2024-02-29 02:49:23 -06:00
parent 6e54be7597
commit 2dacd20e6d
1 changed files with 5 additions and 0 deletions

View File

@ -171,6 +171,11 @@ def update_userlist(message):
if name and (name not in userlist): if name and (name not in userlist):
userlist.append(name) userlist.append(name)
elif event == "exit":
name = message["data"].get("name")
if name and (name in userlist):
userlist.remove(name)
async def run(): async def run():