'How do I get all members with a certain role discord.py
I have my command .roleinactivity @whatever role. How do I take whatever role that was pinged and find all of the members that have that role?
I've been trying to loop through each member in the server with an if statement to see if they have said role but it didn't work. Can anyone point me in the right direction?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
