forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
37f93a5d94
commit
76c48571df
1 changed files with 2 additions and 2 deletions
|
@ -658,7 +658,7 @@ while True:
|
||||||
|
|
||||||
elif command[0] == "$sed":
|
elif command[0] == "$sed":
|
||||||
if len(command) == 2:
|
if len(command) == 2:
|
||||||
replased(command[1])
|
replased(" ".join(command[1:]))
|
||||||
else:
|
else:
|
||||||
irc.send_irc(channel, nick + ": [???] This command takes only one argument.")
|
irc.send_irc(channel, nick + ": [???] This command takes only one argument.")
|
||||||
|
|
||||||
|
@ -741,7 +741,7 @@ while True:
|
||||||
elif command[0][:2].lower() == "s/":
|
elif command[0][:2].lower() == "s/":
|
||||||
logs[channel] = logs[channel][:-1]
|
logs[channel] = logs[channel][:-1]
|
||||||
if sbconfig.cflagexist(channel, "+sed"):
|
if sbconfig.cflagexist(channel, "+sed"):
|
||||||
replased(command[0])
|
replased(" ".join(command))
|
||||||
# try to parse and find a link
|
# try to parse and find a link
|
||||||
|
|
||||||
if sbconfig.cflagexist(channel, "+links"):
|
if sbconfig.cflagexist(channel, "+links"):
|
||||||
|
|
Loading…
Reference in a new issue