Discord-Net-Labs / Discord.Net-Labs

An experimental fork of Discord.Net that implements the newest discord features for testing and development to eventually get merged into Discord.Net
https://labs.discordnet.dev
MIT License
156 stars 42 forks source link

Automatically fix ordering of optional command options #276

Closed CottageDwellingCat closed 2 years ago

CottageDwellingCat commented 2 years ago

Discord requires that optional command options be sent at the end of the command option list. This pr will automatically move non required command options to the end of the option list while preserving option order within the required/not required groups.