serenity-rs / poise

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing
MIT License
597 stars 106 forks source link

feat(macro): add group macro #267

Open TitaniumBrain opened 2 months ago

TitaniumBrain commented 2 months ago

Adds the poise::group macro, which lets you group commands in a struct.

Use MyStruct::commands() to get a vec of the commands.

See the doc of poise::group for more details.

Needs more documentation and examples.