Commit 07f3d342 authored by Mindiell's avatar Mindiell
Browse files

Removed 'new starter' string and send help results to user directly => All this to avoid chan spam.

parent 3a8e90c1
......@@ -237,8 +237,6 @@ class Wantzel(object):
Utils.debug("Command: %s" % command)
if command:
Utils.debug("group(0): %s" %
self.send_message(channel, messages["new_starter"])
command =
Utils.debug("Command: %s" % command)
if command.startswith("rp"):
......@@ -249,7 +247,7 @@ class Wantzel(object):
self.status(command, user, channel, msg)
elif command == "help":
Utils.debug("Calling"), msg), channel, msg)
elif command == "kill":
Utils.debug("Calling self.kill")
self.kill(user, channel, msg)
......@@ -263,7 +261,7 @@ class Wantzel(object):
#if title and website:
# self.send_message(channel, messages["title"] % (title, website))
def help(self, channel, msg):
def help(self, user, channel, msg):
Show global help.
If a known command is behind the ~help command, an adequate message is
......@@ -274,9 +272,9 @@ class Wantzel(object):
command ="~help (help|rp|status|stats|kill|admin)", msg)
if command:
command =
self.send_message(channel, messages["help_"+command])
self.send_message(user, messages["help_"+command])
self.send_message(channel, messages["help"])
self.send_message(user, messages["help"])
def rp(self, command, user, channel, msg):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment