idoneam / Canary

Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.
GNU General Public License v3.0
11 stars 7 forks source link

Automatic verified grad and verified alum roles #612

Open le-potate opened 10 months ago

le-potate commented 10 months ago

There is a channel in this server that requires to both be verified and have either the grad or alum role to access. This is not possible to do in Discord. Right now the feature is using a loophole where one of the roles lets you access the channel without seeing the messages, and the other role lets you see the channel if you happen to have access to it but doesn't give access by itself.

Instead, Marty should detect when someone has both the verified (or honorary) role and the grad or alum role, and give either Verified grad or Verified alum, which would then be the roles that give access to this channel.

It could be possible to make this a general command where you give a combination of roles and the role that marty should give when it detects that a user has that combination. But I'm not sure if there's any reason to do so, and the priority should be the grad thing if it takes too much time to make this a general feature and theres no demand for it