mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fix some docstrings
This commit is contained in:
parent
629e459983
commit
9420d2a17a
@ -154,7 +154,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
|
||||
stats = wrap(stats, ['channeldb'])
|
||||
|
||||
def last(self, irc, msg, args, channel, optlist):
|
||||
"""[<channel>] [--{from,with,without,near,proto}=<value>] --nolimit
|
||||
"""[<channel>] [--{from,with,without,near,proto} <value>] [--nolimit]
|
||||
|
||||
Gives the last URL matching the given criteria. --from is from whom
|
||||
the URL came; --proto is the protocol the URL used; --with is something
|
||||
|
@ -449,13 +449,13 @@ class Misc(callbacks.Privmsg):
|
||||
ircutils.isChannel(msg.args[0])
|
||||
|
||||
def last(self, irc, msg, args, optlist):
|
||||
"""[--{from,in,on,with,without,regexp,nolimit}] <args>
|
||||
"""[--{from,in,on,with,without,regexp,nolimit} <value>]
|
||||
|
||||
Returns the last message matching the given criteria. --from requires
|
||||
a nick from whom the message came; --in requires a channel the message
|
||||
was sent to; --on requires a network the message was sent on; --with
|
||||
requires some string that had to be in the message; --regexp requires
|
||||
a regular expression the message must i match; --nolimit returns all
|
||||
a regular expression the message must match; --nolimit returns all
|
||||
the messages that can be found. By default, the channel this command is
|
||||
given in is searched.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user