how to tell if member is a bot discord.py
import discord
@client.event
async def on_message(message):
members = message.guild.members # also works with ctx.guild.members
for member in members:
if member.bot == True:
print('Member is bot')
else:
print('Member is not bot')