mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-27 05:21:10 -05:00
Wikifetch: fix 'random' help text syntax
This commit is contained in:
parent
001b49b6c3
commit
7611f0fa9c
@ -286,7 +286,7 @@ class Wikifetch(callbacks.Plugin):
|
|||||||
def random(self, irc, msg, args, site):
|
def random(self, irc, msg, args, site):
|
||||||
"""[<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)."""
|
argument can be given to override the default (usually Wikipedia)."""
|
||||||
baseurl = site or self.registryValue('url', msg.args[0])
|
baseurl = site or self.registryValue('url', msg.args[0])
|
||||||
text = self._wiki(irc, msg, 'Special:Random', baseurl)
|
text = self._wiki(irc, msg, 'Special:Random', baseurl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user