You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
This feature would allow moderators to assign a role to a user through Porygon-Z. If they leave through any means (personal choice, kick, ban & unban) and rejoin after after the bot should automatically re-assign these persistent roles.
To Discuss
Should the roles assignable be limited? If so how do we set which roles can be persistent. Remember PZ supports multiple servers so we can't hardcode this. (see Persistant Roles #17 (comment) )
To Do
Command to make a role persistent. Also tracks (records they have the role in server X) all users currently with the role.
Command to reverse this. Also stops tracking the users mentioned above.
Database version change to support persistent role tracking.
Event listener for when a user joins a server to handle re-assigning roles as needed.
Debugging
Other Notes
The required permission should probably be the ability to assign roles to users.
The text was updated successfully, but these errors were encountered:
* [x] Should the roles assignable be limited? If so how do we set which roles can be persistent. Remember PZ supports multiple servers so we can't hardcode this.
The role will be flagged as persistant via a command. Anyone assigned this role (through normal means) will be noted by PZ, and PZ will re-assign it to them if they leave/rejoin. If the role is removed by staff, or the role is made to no longer be sticky, PZ will remove the note so it stops re-assigning the role automatically.
This feature would allow moderators to assign a role to a user through Porygon-Z. If they leave through any means (personal choice, kick, ban & unban) and rejoin after after the bot should automatically re-assign these persistent roles.
To Discuss
To Do
Other Notes
The required permission should probably be the ability to assign roles to users.
The text was updated successfully, but these errors were encountered: