plugin text commands: commands are now sorted in /help

This commit is contained in:
Goffi 2014-03-24 15:18:53 +01:00
commit 90fc3d78e0

View file

@ -205,7 +205,7 @@ class TextCommands(object):
longuest = max([len(command) for command in commands])
help_cmds = []
for command in self._commands:
for command in sorted(self._commands):
method = self._commands[command]
try:
help_str = method.__doc__.split('\n')[0]