title: Discord py | Get message by ID
body: <p>I'm working on a giveaway system for my discord bot.
  I save the end time for running giveaways in a mysql database and when the end time equals the current time the bot calls a function to end the giveaway.
  In the database I store the message-, channel- and server ID. Now the question.
  How do I get the discord.Message from the ID?
  I tried following but this doesn't seem to work:</p>
  <pre><code>giveaway_msg = bot.fetch_message(db_giveaway_message_ID)
  </code></pre>
  <p>db_giveaway_message_ID is the Message ID (904081961583251456)</p>
  <p><strong>EDIT</strong></p>
  <p>Current Code (still not working)</p>
  <pre><code>async def giveaway_end(giveaway_db_fetch):
      print('Giveaway End startet')
      db_giveaway_message_ID = giveaway_db_fetch[4]
      db_giveaway_starter = giveaway_db_fetch[3]
      fb_giveaway_channel_ID = giveaway_db_fetch[5]
      db_giveaway_price = giveaway_db_fetch[1]
      print(db_giveaway_message_ID)
      
      giveaway_msg_channel = await bot.get_channel(fb_giveaway_channel_ID)
      print(f'Giveaway Message Channel = {giveaway_msg_channel.name}')
      giveaway_msg = await giveaway_msg_channel.fetch_message(db_giveaway_message_ID)
      print(f'Message found: {giveaway_msg.id}')
  </code></pre>
  <p>It does print the messageID but nothing more happens. -no error-</p>