mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Directly call isCommandMethod from listCommands.
This commit is contained in:
parent
0b6926826a
commit
768119d258
@ -1146,7 +1146,7 @@ class Commands(BasePlugin):
|
||||
def listCommands(self):
|
||||
commands = []
|
||||
for s in dir(self):
|
||||
if self.isCommand(s):
|
||||
if self.isCommandMethod(s):
|
||||
commands.append(s)
|
||||
for cb in self.cbs:
|
||||
name = cb.canonicalName()
|
||||
|
Loading…
Reference in New Issue
Block a user