too manneh dots
This commit is contained in:
parent
d3848c64a5
commit
cf5630bf79
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ import time
|
||||||
|
|
||||||
@hook.command(autohelp=False)
|
@hook.command(autohelp=False)
|
||||||
def quit(inp, input=None, db=None, notice=None):
|
def quit(inp, input=None, db=None, notice=None):
|
||||||
".quit [reason] -- Kills the bot, with [reason] reason as its quit message.."
|
".quit [reason] -- Kills the bot, with [reason] reason as its quit message."
|
||||||
if not input.nick in input.bot.config["admins"]:
|
if not input.nick in input.bot.config["admins"]:
|
||||||
notice("Only bot admins can use this command!")
|
notice("Only bot admins can use this command!")
|
||||||
return
|
return
|
||||||
|
@ -21,7 +21,7 @@ def quit(inp, input=None, db=None, notice=None):
|
||||||
|
|
||||||
@hook.command(autohelp=False)
|
@hook.command(autohelp=False)
|
||||||
def restart(inp, input=None, db=None, notice=None):
|
def restart(inp, input=None, db=None, notice=None):
|
||||||
".restart [reason] -- Restarts the bot, with [reason] reason as its quit message.."
|
".restart [reason] -- Restarts the bot, with [reason] reason as its quit message."
|
||||||
if not input.nick in input.bot.config["admins"]:
|
if not input.nick 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