serenity-rs / poise

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

Allow to provide a set of Team Roles, to be added to the owner array #265

Open C0D3-M4513R opened 5 months ago

C0D3-M4513R commented 5 months ago

Depends on https://github.com/serenity-rs/serenity/issues/2859 Ref.:

It would be nice, if I could just specify a set/list of Team Roles. Every member of the owning Team, with one of those roles would get added to the internal owner list.

Also it would be nice, if there was an option to only consider accepted Team Members for the default initialization.

e.g. Http::get_current_application_info() -> If a Team, get Team Members -> Filter to only Accepted Team Members -> Filter to only Admins/Developers.