forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
4daa35811a
commit
c582fb6a9d
1 changed files with 1 additions and 4 deletions
|
@ -566,10 +566,7 @@ while True:
|
|||
except Exception as ex:
|
||||
irc.send_irc(channel, nick + ": " + ex.__class__.__name__)
|
||||
elif path.isdir("cc/" + command[0][1:]):
|
||||
irc.send_irc(channel, nick + ": Command list under cc/debug:")
|
||||
irc.send_irc(channel, ", ".join(listdir("cc/" + command[0][1:])) + ".")
|
||||
|
||||
|
||||
irc.send_irc(channel, nick + ": Command list under cc/debug: " + ", ".join(listdir("cc/" + command[0][1:])) + ".")
|
||||
else:
|
||||
print(nick + ": Unrecognised command")
|
||||
|
||||
|
|
Loading…
Reference in a new issue