Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_staff check can error when roles are None #485

Open
flaree opened this issue Jan 1, 2025 · 0 comments
Open

is_staff check can error when roles are None #485

flaree opened this issue Jan 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@flaree
Copy link
Member

flaree commented Jan 1, 2025

Describe the bug
Most likely a gateway issue however Member.roles seems like it can contain a None type - just needs some specific handling

To Reproduce

Expected behavior
Commands with is_staff to work as intended

Cannot repo outside of Ballsdex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant