mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-10-14 17:59:29 +02: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):
|
def listCommands(self):
|
||||||
commands = []
|
commands = []
|
||||||
for s in dir(self):
|
for s in dir(self):
|
||||||
if self.isCommand(s):
|
if self.isCommandMethod(s):
|
||||||
commands.append(s)
|
commands.append(s)
|
||||||
for cb in self.cbs:
|
for cb in self.cbs:
|
||||||
name = cb.canonicalName()
|
name = cb.canonicalName()
|
||||||
|
Loading…
Reference in New Issue
Block a user