forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
4ac94fb1bf
commit
94120b0a69
1 changed files with 3 additions and 1 deletions
|
@ -622,13 +622,15 @@ while True:
|
|||
if i.lower() == "g":
|
||||
repeat = True
|
||||
elif int(i.strip()).isdigit():
|
||||
print(f"index = {int(i)}")
|
||||
index = int(i)
|
||||
else:
|
||||
print(f"user = {i.lower()}")
|
||||
user = i.lower()
|
||||
except: pass
|
||||
cache = None
|
||||
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"].lower)() == user):
|
||||
cache = i
|
||||
break
|
||||
if cache == None:
|
||||
|
|
Loading…
Reference in a new issue