discord.py check if message author is bot code example Example: msg author is a bot if(message.author.id === client.user.id) return;