title: How to kick users on command
body: <p>I don't have much knowledge on Python, and still in the process of learning it.</p>
  
  <p>I have been significantly modifying an open-source Discord bot coded in Python 2.7.</p>
  
  <p>I would like to add a feature that allows me to kick a user based on a command.</p>
  
  <p>Something like
  [commandprefix]kickuser [userid] 
  But I have no idea how to make the bot grab the userid from the message I sent, and when I try to make it ultra-specific to kick my second account as a test, it doesn't work either. </p>
  
  <pre><code>    if message_content == ',purgeIdiots':
          await kick('userid')
          return
  </code></pre>
  
  <p>That's the ultra-specific code where I manually enter a userID into the document. But I cannot get it to work.</p>
  
  <p>I'm extremely new and I'd appreciate some help.</p>