mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Aka: Speed up commands listing by statically listing builtin commands instead of invoking parent's listCommands().
This commit is contained in:
parent
d2762d9fb9
commit
ccafbf4847
@ -253,7 +253,7 @@ class Aka(callbacks.Plugin):
|
||||
return list(set(map(callbacks.formatCommand,
|
||||
self._db.get_aka_list(channel) +
|
||||
self._db.get_aka_list('global')) +
|
||||
self.__parent.listCommands()))
|
||||
['add', 'remove', 'lock', 'unlock', 'importaliasdatabase']))
|
||||
|
||||
def getCommand(self, args):
|
||||
canonicalName = callbacks.canonicalName
|
||||
|
Loading…
Reference in New Issue
Block a user