title: discord.py send_message usage
body: <p>I've started working on a project to accelerate my learning of python. I'm trying to recreate a discord bot I use quite a bit since i'm already use to its features. Below is my current code</p>
  
  <pre><code>import discord
  from discord import User
  from discord.ext.commands import Bot
  
  import secrets
  
  pybot = Bot(command_prefix = "!")
  
  @pybot.event
  async def on_read():
      print("Client logged in")
  
  @pybot.command()
  async def hello(*args):
      print(User.display_name)
      return await pybot.say("Hello, world!")
  
  @pybot.command()
  async def truck(*args):
      await pybot.send_message(message.user,'Watchout for that truck!')
  
  pybot.run(secrets.BOT_TOKEN)
  </code></pre>
  
  <p>what im trying to get to happen is when someone types the command <code>!truck &lt;mention user&gt;</code> it sends a message to that mentioned user with the message "Watch out for that truck!".</p>
  
  <p>I'm getting the following error:</p>
  
  <blockquote>
    <p>Command raised an exception: NameError: name 'message' is not defined</p>
  </blockquote>
  
  <p>I've tried looking up examples of what im trying to do but haven't found much, or am not understanding what I should be doing. Hopefully this isn't a repost of a similar question</p>
  
  <p>Thanks.</p>