How could I change this command to check the custom status of all the members in the server instead of just checking the custom status of the person that wrote the command
The code that works gets my custom status which was test
and it prints it out perfectly fine. I just want to know if/how I could get the custom status of everyone in the server.
@bot.command()
async def checkstatus(ctx):
for status in ctx.author.activities:
if isinstance(status, discord.CustomActivity):
print(status)
Logged in as vanity#####
test