|
|
@@ -17,6 +17,8 @@ def do_command(self, connection, event):
|
|
|
return
|
|
|
|
|
|
# The actual commands:
|
|
|
+ print(command)
|
|
|
+ print(command.split()[0])
|
|
|
if command == "test":
|
|
|
if cmdtype == "help": #Display help text.
|
|
|
if len(command.split()) is not 1:
|
|
|
@@ -50,6 +52,7 @@ def do_command(self, connection, event):
|
|
|
connection.privmsg(replyto, "Replace the " + italic + "! " + reset + "prefix of any comand with " + italic + self.helpchar + " " + reset + "for help with a specific command. Request the command list with: " + blue + "!cmd")
|
|
|
connection.privmsg(replyto, grey + "Example: " + reset + blue + self.helpchar + "help")
|
|
|
|
|
|
+
|
|
|
elif command.split()[0] == "stopgreet":
|
|
|
if cmdtype == "help": #Display help text.
|
|
|
if len(command.split()) is not 1:
|
|
|
@@ -128,7 +131,7 @@ def do_command(self, connection, event):
|
|
|
if len(command.split()) is not 1:
|
|
|
return
|
|
|
connection.privmsg(replyto, "Sets you away, optionally with reason. Affects the !seen command.")
|
|
|
- connection.privmsg(replyto, grey + "Usage: " + blue + "!away " + reset + italic + "rreason")
|
|
|
+ connection.privmsg(replyto, grey + "Usage: " + blue + "!away " + reset + italic + "reason")
|
|
|
|
|
|
elif cmdtype == "cmd":
|
|
|
queries.create_ifnot_onrecord(self, event.source.nick)
|