title: How to make a bot kick someone if i say a certain keyword
body: <p>So if I say for example 'abracadraba' I want the bot to kick a certain member.
  I know the player I want to kick for example 'example#1234'
  The bot has all permisions necessary.</p>
  <p>This is the code by now:</p>
  <pre><code>import discord
  import time
  from discord.ext import commands
  
  client = discord.Client()
  
  @client.event
  async def on_ready():
      print(&quot;Botu e gata&quot;)
  
  @client.event
  async def on_message(message):
      if message.content.startswith(&quot;ba&quot;):
          await member.kick(userName = &quot;FluXon#5183&quot;,reason=None)
  
  
      if &quot;matei&quot; in message.content:
          await message.channel.send(&quot;Suge carasu&quot;) 
      if &quot;Matei&quot; in message.content:
          await message.channel.send(&quot;El e ceo nostru&quot;)
          time.sleep(2)
          await message.channel.send(&quot;Unul dintre cei mai respectati cetateni ai acestui server&quot;)
          time.sleep(2)
          await message.channel.send(&quot;El se ocupa de chestii ca voi sa nu trebuiasca sa va ocupati&quot;)
          time.sleep(2)
          await message.channel.send(&quot;Asa ca respecta           ti-l&quot;)
          time.sleep(2)
          await message.channel.send(&quot;MATEI CEO&quot;)
          await message.channel.send(&quot;MATEI CEO&quot;)
          await message.channel.send(&quot;MATEI CEO&quot;)
          
  
  
  
  
  
  
  
  client.run(token)
  </code></pre>