title: Ignoring exception in on_message in pycharm using discord.py
body: <p>When I type &quot;!hello&quot; in my discord server my bot should say &quot;Hello (author)&quot;
  But when i run the command this error comes up</p>
  <pre><code>Ignoring exception in on_message
  Traceback (most recent call last):
    File &quot;C:\Users\Leo\PycharmProjects\untitled\venv\lib\site-packages\discord\client.py&quot;, line 307, in _run_event
      yield from getattr(self, event)(*args, **kwargs)
    File &quot;C:/Users/Leo/PycharmProjects/untitled/Discord-bot.py&quot;, line 16, in on_message
      await message.channel.send('Hello {0.author.mention}'.format(message))
  AttributeError: 'Channel' object has no attribute 'send'
  </code></pre>
  <p>I dont know what to do and other things on this website dont do the same thing I did. Heres My Script:</p>
  <pre><code>import discord
  
  class MyClient(discord.Client):
      async def on_ready(self):
          print('Logged in as')
          print(self.user.name)
          print(self.user.id)
          print('------')
  
      async def on_message(self, message):
          # we do not want the bot to reply to itself
          if message.author.id == self.user.id:
              return
  
          if message.content.startswith('/Hi'):
              await message.channel.send('Hello {0.author.mention}'.format(message))
  
  client = MyClient()
  client.run('TOKENWENTHERE')
  </code></pre>