test
This commit is contained in:
parent
968cbc5aea
commit
68263628f6
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
from difflib import SequenceMatcher
|
from difflib import SequenceMatcher
|
||||||
|
import collections
|
||||||
|
|
||||||
from sopel.trigger import PreTrigger
|
from sopel.trigger import PreTrigger
|
||||||
|
|
||||||
@ -69,6 +70,9 @@ class Commands():
|
|||||||
"type": "command",
|
"type": "command",
|
||||||
"plugin_name": plugin_name
|
"plugin_name": plugin_name
|
||||||
})
|
})
|
||||||
|
for category, cmds in collections.OrderedDict(sorted(self.bot.command_groups.items())).items():
|
||||||
|
print(category)
|
||||||
|
print(cmds)
|
||||||
return commands_list
|
return commands_list
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user