Update sweebot.py

This commit is contained in:
Swee 2024-10-12 14:44:59 -07:00
parent 7ee4c07028
commit 5be071eb59

View file

@ -495,7 +495,7 @@ while True:
for i in command[2:]: for i in command[2:]:
if i == "clear": if i == "clear":
flag = ["+config"] flag = ["+config"]
if i[0] == "+": elif i[0] == "+":
if "-" + i[1:] in flag: if "-" + i[1:] in flag:
flag[flag.index("-" + i[1:])] = i flag[flag.index("-" + i[1:])] = i
else: else: