Closed kyle95wm closed 2 years ago
Hmm. not sure what you mean by what you said. So you add a role to someone, remove that role so they have no personal roles, then try myrole list?
Pretty much. Let's say if one person in the entire server gets assigned a personal role. They would then be added to the list. When their role is removed and unassigned, the list would therefore be empty. When running myrole list however, instead of getting the "there are no personal roles assigned" message, I instead get that lovely traceback in my op. This should not happen.
Alright I see the problem. Seems like Redbot's config won't return an empty list for all member's data if someone has had a role before. Just added in an extra check in 62b4054a33a35eb4e4f145987c1c780a3fd966e3 and it seems to fix it.
Yep it's all good now!
I receive the following exception when trying to run the myrole list command when no roles are in the list when there were roles in the list prior