-
Notifications
You must be signed in to change notification settings - Fork 3
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
Reaction Roles: Hardcode #16
Comments
Hi. I am interested in helping on this task. If you can provide me some additional information like what is the name of the function, how do you want me to change it, also the what would be role's names that I would have to hardcode. |
Hi! Sorry for not seeing this earlier but I appreciate your interest! My goal for any of these is to get you going with as little assistance as possible so here's some hints to point you in the right direction:
The reason we must save the ID's somewhere 'permanent' is because if the bot restarts/we redeploy a new version, we want to 'remember' which messages are special 'role-react' messages. There are other workarounds to avoid needing to save the ID's in the code however I can't think of any that do not come at the cost of complicating deployment. |
Keep most discussion on topics here in the Github issue, but feel free to notify me on Discord in the collaborate channel when you have updates or if you have quick questions (a lot of the time I miss notifications here). I can also meet for brief meetings ~15 minutes here and there basically any day. |
I set up the reaction manager function to read reaction role info from a file, but I think this is honestly a little bit overkill for our purposes. It makes sense for scalability (we could implement feature to create an infinite number of roles), but I'm afraid this system might confuse people and make changing or adding roles ironically more difficult.
I would like to change the reaction role command to have each role hardcoded in. i.e. each role is a separate function/path within $rm.
The text was updated successfully, but these errors were encountered: