smogon / Porygon-Z

The Bot for the Official Smogon Discord (WIP)
https://discord.gg/smogon
MIT License
13 stars 6 forks source link

Persistant Roles #17

Closed HoeenCoder closed 4 years ago

HoeenCoder commented 4 years ago

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.

HoeenCoder commented 4 years ago
* [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.

Also updated To Do to reflect the changes.

HoeenCoder commented 4 years ago

Closed in https://github.com/smogon/Porygon-Z/commit/6f1ad32728fa3cf4ea067edc0e5f66f858f093b1