Skip to content

Bug: Bot still remembers old roles even after Remove All PMB Roles #6

@its-saanvi

Description

@its-saanvi

Problem

When using the Remove All PMB Roles button to reset roles and re-select them for each split, the bot still assigns users to the previous roles.

Steps to Reproduce

  • Click on Remove ALL PMB Roles in any server.
  • Choose any other role that you didn't already have for any split from the drop-down.
  • Check roles assigned to see you still have the old roles for that split.

Probable cause

https://github.com/PaceMan-MCSR/pacemanbot/blob/main/src%2Fcomponents%2Fmessage%2Fselect_role.rs#L44 Fetching the role from cache affects it? I don't see how though but it might be the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions