discord.py rewrite | Making errors for my commands
问题 Now that I finished my moderation commands [mostly], I am trying to add errors in. I already made the "please specify a member" error, but I cannot manage to make the bot say "this member does not exist" when an invalid name is input. @client.command(name='kick', brief='Kicks user', aliases=['Kick'], pass_context=True) async def kick(context, member:discord.Member=None): # Errors if not member: await context.send('Please specify a member.') return # Actual Kicking if context.author.guild