guild members #235
-
i cannot get message.guild.members |
Beta Was this translation helpful? Give feedback.
Answered by
TheOnlyWayUp
Mar 8, 2022
Replies: 1 comment
-
Guild members are not populated for user accounts by default, instead, you can guild = bot.get_guild(id)
status = await guild.subscribe()
if status: # Status is a boolean on the success of guild.subscribe
for member in guild.members:
print(member.name) This is only on the rebase branch, so make sure you're using it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fenish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Guild members are not populated for user accounts by default, instead, you can
subscribe
to the guild to populate its members.This is only on the rebase branch, so make sure you're using it.
pip install git+https://github.com/dolfies/discord.py-self@rebase