title: How can I make the bot say something when someone tries to kick a higher admin or himself?
body: <p>When someone tries to kick a higher in rank admin the bot does nothing not even an error, I want it instead to return a text into chat. Also if someone tries to kick/ban himself it works, how can I disable that? Thanks
  here is the code</p>
  <pre><code>@client.command()
  @commands.has_permissions(kick_members = True)
  async def kick(ctx, member : discord.Member, *, reason=None):
    await member.kick(reason=reason)
    await ctx.channel.send(f&quot;User {member} got kicked&quot;)
  
   @client.command()
   @commands.has_permissions(ban_members = True)
   async def ban(ctx, member : discord.Member, *, reason=None):
      await member.ban(reason=reason)
      await ctx.channel.send(f&quot;User {member} got banned&quot;)
  </code></pre>