Update sweebot.py
All checks were successful
Check syntax / check (push) Successful in 9s

This commit is contained in:
Nova Cat 2024-12-22 19:15:29 -08:00
parent 34f8e736a1
commit 3ee06823b9

View file

@ -626,6 +626,7 @@ while True:
index = int(i) index = int(i)
else: else:
user = i.lower() user = i.lower()
except: pass
cache = None cache = None
for i in logs[channel]: for i in logs[channel]:
if find in i["content"] and (user == None or i["nick"] == user): if find in i["content"] and (user == None or i["nick"] == user):