From fe2f4114f489a71792dfbc3f7e2eb015bf0a2bdc Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Thu, 6 Jun 2019 02:08:27 -0400 Subject: [PATCH] update mircart help string --- ASCII/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index fe522b0..ba7c5a8 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -1346,7 +1346,7 @@ class ASCII(callbacks.Plugin): fortune = wrap(fortune, [optional('channel'), getopts({'delay':'float'})]) def mircart(self, irc, msg, args, channel, optlist, search): - """[] + """[] (search text) Search https://mircart.org/ and scroll first result """ 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: time.sleep(delay) 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')]) def cq(self, irc, msg, args):