forked from Galactic/galactic-bot
sort settings
This commit is contained in:
parent
7d47282a84
commit
07c0e8016d
@ -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] });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user