sort settings

This commit is contained in:
Erik 2022-07-20 21:12:12 +03:00
parent 7d47282a84
commit 07c0e8016d
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -52,6 +52,7 @@ class SettingsCommand extends SlashCommand {
inline: true inline: true
}); });
embed.fields.sort((a, b) => b.value.length - a.value.length);
return invoker.reply({ embeds: [embed] }); return invoker.reply({ embeds: [embed] });
} }