R
R
REAPER12021-03-01 13:58:53
Bots
REAPER1, 2021-03-01 13:58:53

How can I find all the users of my channel on Discord?

message.guild.members contains only the bot, and message is the argument of the on_message() function, although there are 2 more accounts on the channel
603cc8aa22721766178411.png603cca3d30e78221777282.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-03-01
@REAPER1

message.guild.members only contains the bot

the hundredth answer about passing the necessary intents during initialization
https://discordpy.readthedocs.io/en/latest/intents.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question