mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Fix doc of NestedCommandsIrcProxy.reply.
This commit is contained in:
parent
bfb305e2b8
commit
5f8e45aaa8
@ -837,18 +837,20 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
|
|||||||
|
|
||||||
def reply(self, s, noLengthCheck=False, prefixNick=None,
|
def reply(self, s, noLengthCheck=False, prefixNick=None,
|
||||||
action=None, private=None, notice=None, to=None, msg=None):
|
action=None, private=None, notice=None, to=None, msg=None):
|
||||||
"""reply(s) -> replies to msg with s
|
"""
|
||||||
|
|
||||||
|
reply(s) -> replies to msg with s
|
||||||
|
|
||||||
Keyword arguments:
|
Keyword arguments:
|
||||||
noLengthCheck=False: True if the length shouldn't be checked
|
* `noLengthCheck=False`: True if the length shouldn't be checked
|
||||||
(used for 'more' handling)
|
(used for 'more' handling)
|
||||||
prefixNick=True: False if the nick shouldn't be prefixed to the
|
* `prefixNick=True`: False if the nick shouldn't be prefixed to the
|
||||||
reply.
|
reply.
|
||||||
action=False: True if the reply should be an action.
|
* `action=False`: True if the reply should be an action.
|
||||||
private=False: True if the reply should be in private.
|
* `private=False`: True if the reply should be in private.
|
||||||
notice=False: True if the reply should be noticed when the
|
* `notice=False`: True if the reply should be noticed when the
|
||||||
bot is configured to do so.
|
bot is configured to do so.
|
||||||
to=<nick|channel>: The nick or channel the reply should go to.
|
* `to=<nick|channel>`: The nick or channel the reply should go to.
|
||||||
Defaults to msg.args[0] (or msg.nick if private)
|
Defaults to msg.args[0] (or msg.nick if private)
|
||||||
"""
|
"""
|
||||||
# These use and or or based on whether or not they default to True or
|
# These use and or or based on whether or not they default to True or
|
||||||
|
Loading…
Reference in New Issue
Block a user