Update sweebot.py

This commit is contained in:
Swee 2024-10-12 14:42:01 -07:00
parent 54ca5801e7
commit 22679a9f86

View file

@ -505,9 +505,10 @@ while True:
else:
flag.append(i)
else:
multiline(nick + ": flag name should begin with + or -")
multiline(nick + ": flag name should begin with + or -", channel)
break
sbconfig.setchanconfig(channel, flag)
multiline(nick + ": Successfuly applied configuration: " + " ".join(flag), channel)
else:
irc.send_irc(channel, nick + ": Permission denied")
block+=1