title: How to use MessageType
body: <p>so I am trying to make the bot do something when the <code>premium_guild_subscription</code> message comes. I have tried:</p>
  <pre><code>@bot.event
  async def on_message(message):
      MessageType = discord.MessageType
      if MessageType == 'pins_add':
          await message.channel.send('ITS WORKING!!!')
  </code></pre>
  <p>but its not working. The above code does nothing when the message comes. If I do <code>message.MessageType</code> then it says that <code>message object has no attribute MessageType</code>.</p>