friendo-bot icon indicating copy to clipboard operation
friendo-bot copied to clipboard

role commands

Open fisher60 opened this issue 4 years ago • 2 comments

Summary

Add role control command with the bot.

Reasoning

We recently overhauled our server due to a very large number of roles. These roles were mostly for fun, however many serve a specific purpose.

Execution

The execution of this command needs to be discussed further. Generally it would allow a user to enter the command and a role id and add that role.

Perhaps we could consider a reaction-based command where an embed lists all the roles available to be added and a user's reaction/un-reaction gives them the role.

Concerns

This could easily cause a rate limit if someone decides to spam emote, we would need to see what the rate limit is for this sort of reaction check and make sure it is handled appropriately.

We cannot allow the bot to automatically allow all roles to be accessible. This bot has very serious permissions and can do very serious damage to a server. Every role will likely need to be manually added to the bot by someone with admin permissions.

one example: the bot should not even be capable of granting a role with admin permissions, so admin roles should not be available.

Another concern is: we have roles used to protect privacy of certain channels as well as age-restrict some channels, these cannot be given to users by a command, unless we decide they should be self opt-in. Remember that this applies to ALL servers, Friendo is used/is meant for many servers, so this cannot be hard-coded to use our default roles. The setup should also be as painless as possible.

Maybe consider some sort of setup embed that allows admins/owners to select which roles on their server are included/excluded

Conclusion

Please discuss the use, purpose, and execution of this command on this issue. We need to figure out how this will be done exactly.

fisher60 avatar Dec 11 '20 22:12 fisher60

I would like to add that we could have our OWN role based system. We can allow the bot to completely manage it's own roles, utilizing our backend to store roles for servers. These roles would only exist within our backend and the bot, they would be completely separate from the actual discord client.

fisher60 avatar Dec 11 '20 22:12 fisher60

@AI-Pree @Akarys42 Your input here would be greatly appreciated.

fisher60 avatar Dec 11 '20 22:12 fisher60