mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-26 13:01:07 -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):
|
||||
"""[<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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user