diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 97609ac0..b6fb6954 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -1689,7 +1689,7 @@ class Group(GroupMixin[CogT], Command[CogT, P, T]): "name": self.name, "type": int(not (nested - 1)) + 1, "description": self.short_doc or "no description", - "options": [cmd.to_application_command(nested=nested + 1) for cmd in self.commands], + "options": [cmd.to_application_command(nested=nested + 1) for cmd in sorted(self.commands, key=lambda x: x.name)], }