Changed .chnick to .nick
This commit is contained in:
parent
091cfe8469
commit
50d6840628
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ def part(inp, input=None, notice=None):
|
||||||
input.conn.send("PART " + inp)
|
input.conn.send("PART " + inp)
|
||||||
|
|
||||||
@hook.command
|
@hook.command
|
||||||
def chnick(inp, input=None, notice=None):
|
def nick(inp, input=None, notice=None):
|
||||||
".chnick <nick> - Change the nick!"
|
".nick <nick> -- change the bots nickname to <nick>"
|
||||||
if input.nick not in input.bot.config["admins"]:
|
if input.nick not in input.bot.config["admins"]:
|
||||||
notice("Only bot admins can use this command!")
|
notice("Only bot admins can use this command!")
|
||||||
return
|
return
|
||||||
|
|
Reference in a new issue