mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 22:49:23 +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,
|
||||
genNavbar('../../'),
|
||||
pluginName)))
|
||||
attrs = [x for x in dir(plugin) if plugin.isCommand(x) and not
|
||||
x.startswith('_')]
|
||||
attrs = [x for x in dir(plugin) if plugin.isCommand(x) and
|
||||
callbacks.canonicalName(x) == x]
|
||||
id.write('(%s)<br />\n' % ', '.join(attrs))
|
||||
for attr in attrs:
|
||||
if attr in commandDict:
|
||||
|
Loading…
Reference in New Issue
Block a user