Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to enable/disable features per server #6

Open
abrasmag3 opened this issue Dec 19, 2022 · 3 comments
Open

Ability to enable/disable features per server #6

abrasmag3 opened this issue Dec 19, 2022 · 3 comments
Labels
enhancement New feature or request SQL needed Requires creation of sql code

Comments

@abrasmag3
Copy link

All features should probably start disabled?

Bonus points: Init the guild SQL automagically when you enable your first feature

@Coca162 Coca162 added enhancement New feature or request SQL needed Requires creation of sql code labels Dec 19, 2022
@Coca162
Copy link
Collaborator

Coca162 commented Dec 19, 2022

Does this mean that features that require lower permissions then MANAGE_GUILD would require an individual with MANAGE_GUILD to be enabled? And if so would we need to enable/disable features for ones which already require MANAGE_GUILD?

@abrasmag3
Copy link
Author

abrasmag3 commented Dec 19, 2022

  1. Probably? You likely don't want a moderator to enable/disable features without an admin's permission
  2. Probably not, although what features would fall into this category?

@Coca162
Copy link
Collaborator

Coca162 commented Dec 19, 2022

For the 1st this would mean we would have to do checks on whether the permissions exist, though this can be done conveniently through poise checks, as long as they are able to be defined outside a module, poise examples do not clarify much.

The 2nd concern was more forward-looking and currently doesn't need to be thought about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SQL needed Requires creation of sql code
Projects
None yet
Development

No branches or pull requests

2 participants