ToogaInc / ToogaBooga

An open-source Realm of the Mad God Discord chat bot designed for advanced cross-verification, moderation, and raid management.
MIT License
8 stars 4 forks source link

Quota leaderboard should update automatically on additional conditions #244

Closed ewang2002 closed 1 year ago

ewang2002 commented 1 year ago

Quota leaderboards should update when a staff member either loses a role that has a quota (e.g., they get demoted or step down), or when they leave the server.

A/C (Acceptance Criteria):

nyapat commented 1 year ago

Is updating when the next reset occurs enough? -- would just be ensuring everyone in the quotaLog still has a staff role. Adding an event that would trigger every time someone leaves the server (guildMemberRemove) would be possible but I think it's unnecessary complexity (check if they have staff role, trigger embed updates with checkForReset, handle issues that inevitably arise)

ewang2002 commented 1 year ago

That's fine with me.