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

This commit is contained in:
Nova Cat 2024-12-27 00:58:57 -08:00
parent 37f93a5d94
commit 76c48571df

View file

@ -658,7 +658,7 @@ while True:
elif command[0] == "$sed":
if len(command) == 2:
replased(command[1])
replased(" ".join(command[1:]))
else:
irc.send_irc(channel, nick + ": [???] This command takes only one argument.")
@ -741,7 +741,7 @@ while True:
elif command[0][:2].lower() == "s/":
logs[channel] = logs[channel][:-1]
if sbconfig.cflagexist(channel, "+sed"):
replased(command[0])
replased(" ".join(command))
# try to parse and find a link
if sbconfig.cflagexist(channel, "+links"):