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

Role.members always empty #2462

Closed
3 tasks done
Skarlett opened this issue Dec 4, 2019 · 2 comments
Closed
3 tasks done

Role.members always empty #2462

Skarlett opened this issue Dec 4, 2019 · 2 comments
Labels
no repro Cannot be reproduced.

Comments

@Skarlett
Copy link

Skarlett commented Dec 4, 2019

Summary

getting members of roles is always empty

Reproduction Steps

@bot.listen
async def on_message(ctx):
  if ctx.guild:
    print(all(len(x.members) == 0 for x in ctx.guild.roles))

Expected Results

I expected to be able to pull each User from their associated role.

Actual Results

No traceback, just always empty.

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

System Information

@Rapptz Rapptz added the no repro Cannot be reproduced. label Dec 4, 2019
@Rapptz
Copy link
Owner

Rapptz commented Dec 4, 2019

I can't reproduce this.

@cyraid
Copy link

cyraid commented Dec 1, 2022

This happens to me too.

Repository owner locked as resolved and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no repro Cannot be reproduced.
Projects
None yet
Development

No branches or pull requests

3 participants