docstring tweaks

This commit is contained in:
neersighted 2012-03-30 16:58:12 -07:00
parent 22ba86ec5a
commit e90d72e6e0

View file

@ -49,7 +49,7 @@ def ignored(inp, bot=None):
@hook.command(adminonly=True) @hook.command(adminonly=True)
def ignore(inp, input=None, notice=None): def ignore(inp, input=None, notice=None):
".ignore <channels/users/hosts> -- Makes the bot ignore someone." ".ignore <channel/user/host> -- Makes the bot ignore <channel/user/host>."
target = inp target = inp
if is_ignored(target): if is_ignored(target):
@ -61,7 +61,7 @@ def ignore(inp, input=None, notice=None):
@hook.command(adminonly=True) @hook.command(adminonly=True)
def unignore(inp, input=None, notice=None): def unignore(inp, input=None, notice=None):
".unignore channels/users/hosts -- Makes the bot listen to someone." ".unignore <channel/user/host> -- Makes the bot listen to <channel/user/host>."
target = inp target = inp
if is_ignored(target): if is_ignored(target):
@ -71,3 +71,4 @@ def unignore(inp, input=None, notice=None):
else: else:
notice("%s is not ignored." % target) notice("%s is not ignored." % target)
return return