Minor tweaks
This commit is contained in:
parent
339b18d6c7
commit
004f7916c7
1 changed files with 7 additions and 7 deletions
|
@ -91,6 +91,13 @@ def join(inp, conn=None, notice=None):
|
|||
conn.join(inp)
|
||||
|
||||
|
||||
@hook.command(adminonly=True)
|
||||
def part(inp, conn=None, notice=None):
|
||||
".part <channel> -- Leaves <channel>."
|
||||
notice("Attempting to part from %s..." % inp)
|
||||
conn.part(inp)
|
||||
|
||||
|
||||
@hook.command(adminonly=True)
|
||||
def cycle(inp, conn=None, notice=None):
|
||||
".cycle <channel> -- Cycles <channel>."
|
||||
|
@ -99,13 +106,6 @@ def cycle(inp, conn=None, notice=None):
|
|||
conn.join(inp)
|
||||
|
||||
|
||||
@hook.command(adminonly=True)
|
||||
def part(inp, conn=None, notice=None):
|
||||
".part <channel> -- Leaves <channel>."
|
||||
notice("Attempting to part from %s..." % inp)
|
||||
conn.part(inp)
|
||||
|
||||
|
||||
@hook.command(adminonly=True)
|
||||
def nick(inp, input=None, notice=None, conn=None):
|
||||
".nick <nick> -- Changes the bots nickname to <nick>."
|
||||
|
|
Reference in a new issue