title: 'Client' object has no attribute 'send_message'
body: <p>When run produces this on the console, can you fix it?</p>
  
  <pre><code>import feedparser
  import discord
  import asyncio
  
  url = 'http://blog.counter-strike.net/index.php/feed/'
  
  Client = discord.Client()
  global last_id
  last_id = []
  
  #---Edit this before running the bot------
  #1] Add the App Bot User Token you got from discord here
  token = ...
  #2] Add the Discord Channel IDs to which the bot will message when CSGO updates .
  #bot has to be a part of the group to which the channel belongs . duh
  channel_id = ['496709417203662848', '496709455816294411', '496709586196365323']
  
  async def print_console(text):
      await Client.wait_until_ready()
      print(text)
      for num in channel_id:
          await Client.send_message(Client.get_channel(num),text)
  
  @Client.event
  async def on_ready():
      await Client.change_presence(game=discord.Game(name='CSGO-Updates'))
      print('Logged in as')
      print(Client.user.name)
      print(Client.user.id)
      print('------')
  
  @Client.event
  async def on_message(message):
      if message.content.startswith('!check'):
          await Client.send_message(message.channel,'bot Running')
      if message.content.startswith('!help'):
          help_msg = '***the currently active commands are:***\n ```css\n{}\n``` \n'
          text = ' !help : displays the help documentation\n !check : checks if the bot is running,returns 0 or no message if bot is having problems\n !madeby : Steam URL of the bot Creator \n '
          await Client.send_message(message.channel, help_msg.format(text))
      if message.content.startswith('!madeby'):
          msg = ' *made by:* \n http://steamcommunity.com/id/zero_aak'
          await Client.send_message(message.channel, msg)
  
  async def main():
      global last_id
      feed = feedparser.parse(url)
      for index in feed.entries:
          last_id.append(index.id)
      print('primary scan complete')
      await print_console('bot started , use !help for help')
      while True:
          await asyncio.sleep(20)
          feed = feedparser.parse(url)
          for item in feed.entries:
              if item.id not in last_id:
                  last_id.append(item.id)
                  await print_console(item.link)
  
  Client.loop.create_task(main())
  Client.run(token)
  </code></pre>
  
  <p>Here's what displays in the console:</p>
  
  <pre><code>C:\Users\FeNka\Downloads\Discord-CSGO-Update-bot-master\Discord-CSGO-Update-bot-master&gt;python bot.py
  primary scan complete
  bot started , use !help for help
  Task exception was never retrieved
  future: &lt;Task finished coro=&lt;main() done, defined at bot.py:44&gt; exception=AttributeError("'Client' object has no attribute 'send_message'")&gt;
  Traceback (most recent call last):
    File "bot.py", line 50, in main
      await print_console('bot started , use !help for help')
    File "bot.py", line 22, in print_console
      await Client.send_message(Client.get_channel(num),text)
  AttributeError: 'Client' object has no attribute 'send_message'
  Ignoring exception in on_ready
  Traceback (most recent call last):
    File "C:\Users\FeNka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\client.py", line 225, in _run_event
      await coro(*args, **kwargs)
    File "bot.py", line 26, in on_ready
      await Client.change_presence(game=discord.Game(name='CSGO-Updates'))
  TypeError: change_presence() got an unexpected keyword argument 'game'
  </code></pre>
  
  <p>If need be, here is a guide to running it yourself:</p>
  
  <ol>
  <li>Install Python if you don't already have it (recommended version 3.6+)</li>
  <li>Make a new app on Discord here: 
  <a href="https://discordapp.com/developers/applications/me" rel="nofollow noreferrer">https://discordapp.com/developers/applications/me</a></li>
  <li>Add a bot user to the app and save the token for later use.</li>
  <li>Get the client ID of the app</li>
  <li>Use this link to add the bot to the server, replace the CLIENT_ID in the URL with the client ID you got:
  <a href="https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&amp;scope=bot&amp;permissions=0" rel="nofollow noreferrer">https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&amp;scope=bot&amp;permissions=0</a></li>
  <li>Enable developer mode in User Settings -> Appearance -> Enable Developer Mode.</li>
  <li>Get the channel id by right clicking a channel , save it for later use.</li>
  <li>Open bot.py in notepad and edit in the bot token and channel-id in the given spots.</li>
  <li>Execute bot.py in python.</li>
  <li>There you go, it's done. Use <code>!help</code> to see if the bot is running or not :)</li>
  </ol>
  
  <p><strong>Commands:</strong></p>
  
  <pre><code>!help : displays the help dialogue
  !check : checks if the bot is running or not 
  !madeby : get my steam profile url to contact me
  </code></pre>