mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 08:02:49 +01:00
Better checking for what a command is so we don't generate documentation
for Regexp/RegexpCommands
This commit is contained in:
parent
8b0d0a9aca
commit
a82bdaaa4d
@ -210,8 +210,8 @@ def makePluginDocumentation(pluginWindow):
|
|||||||
deprecated,
|
deprecated,
|
||||||
genNavbar('../../'),
|
genNavbar('../../'),
|
||||||
pluginName)))
|
pluginName)))
|
||||||
attrs = [x for x in dir(plugin) if plugin.isCommand(x) and not
|
attrs = [x for x in dir(plugin) if plugin.isCommand(x) and
|
||||||
x.startswith('_')]
|
callbacks.canonicalName(x) == x]
|
||||||
id.write('(%s)<br />\n' % ', '.join(attrs))
|
id.write('(%s)<br />\n' % ', '.join(attrs))
|
||||||
for attr in attrs:
|
for attr in attrs:
|
||||||
if attr in commandDict:
|
if attr in commandDict:
|
||||||
|
Loading…
Reference in New Issue
Block a user