Wikifetch: fix 'random' help text syntax

This commit is contained in:
James Lu 2017-03-24 19:10:47 -07:00
parent 001b49b6c3
commit 7611f0fa9c

View File

@ -286,7 +286,7 @@ class Wikifetch(callbacks.Plugin):
def random(self, irc, msg, args, site):
"""[<site>]
Returns the first paragraph of a random wiki article. Optionally, the --site
Returns the first paragraph of a random wiki article. Optionally, the 'site'
argument can be given to override the default (usually Wikipedia)."""
baseurl = site or self.registryValue('url', msg.args[0])
text = self._wiki(irc, msg, 'Special:Random', baseurl)