Mods
This commit is contained in:
parent
6e54be7597
commit
2dacd20e6d
5
main.py
5
main.py
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue