mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
No need to define Alias.listCommands.
Doing so can actually result in duplicate alias listings.
This commit is contained in:
parent
768119d258
commit
20dd2a0782
@ -202,12 +202,6 @@ class Alias(callbacks.Plugin):
|
|||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def listCommands(self):
|
|
||||||
commands = self.__parent.listCommands()
|
|
||||||
commands.extend(self.aliases.keys())
|
|
||||||
commands.sort()
|
|
||||||
return commands
|
|
||||||
|
|
||||||
def getCommandMethod(self, command):
|
def getCommandMethod(self, command):
|
||||||
try:
|
try:
|
||||||
return self.__parent.getCommandMethod(command)
|
return self.__parent.getCommandMethod(command)
|
||||||
|
Loading…
Reference in New Issue
Block a user