mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-05-03 08:51:16 -05:00
update mircart help string
This commit is contained in:
parent
e29d5685e3
commit
fe2f4114f4
@ -1346,7 +1346,7 @@ class ASCII(callbacks.Plugin):
|
|||||||
fortune = wrap(fortune, [optional('channel'), getopts({'delay':'float'})])
|
fortune = wrap(fortune, [optional('channel'), getopts({'delay':'float'})])
|
||||||
|
|
||||||
def mircart(self, irc, msg, args, channel, optlist, search):
|
def mircart(self, irc, msg, args, channel, optlist, search):
|
||||||
"""[<channel>]
|
"""[<channel>] (search text)
|
||||||
Search https://mircart.org/ and scroll first result
|
Search https://mircart.org/ and scroll first result
|
||||||
"""
|
"""
|
||||||
if not channel:
|
if not channel:
|
||||||
@ -1371,6 +1371,7 @@ class ASCII(callbacks.Plugin):
|
|||||||
elif line.strip() and not self.stopped[msg.args[0]] and "Follow @igor_chubin" not in line:
|
elif line.strip() and not self.stopped[msg.args[0]] and "Follow @igor_chubin" not in line:
|
||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
irc.reply(line, prefixNick = False, noLengthCheck=True, private=False, notice=False, to=channel)
|
irc.reply(line, prefixNick = False, noLengthCheck=True, private=False, notice=False, to=channel)
|
||||||
|
irc.reply(url.get('href'))
|
||||||
mircart = wrap(mircart, [optional('channel'), getopts({'delay':'float'}), ('text')])
|
mircart = wrap(mircart, [optional('channel'), getopts({'delay':'float'}), ('text')])
|
||||||
|
|
||||||
def cq(self, irc, msg, args):
|
def cq(self, irc, msg, args):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user