title: Discord bot reading reactions
body: <p>I need to implement some of the feature and one of the feature is implementing polls type feature. Can't use public discord bots due to some policies so we have to implement something on my own. Did some research yesterday and was able to make basic bot using <strong>python3</strong> and <code>commands</code> api from <code>discord.ext</code>. Now what i need to figure out is:</p>
  
  <ol>
  <li>Read reactions added by a user to a message?</li>
  <li>Create a message with reactions (like bots which create reaction polls?)</li>
  <li>Pin a message?</li>
  <li>I believe from <code>ctx</code> i can get <code>user</code> <code>tags</code> (admin etc). Is there a better way to do so?</li>
  </ol>
  
  <p>Couldn't find anything helpful on <a href="https://discordpy.readthedocs.io/en/rewrite/ext/commands/commands.html" rel="noreferrer">Commands reference page</a> or probably i am looking at wrong documentation. any help would be appreciated.</p>
  
  <p>thanks</p>
  
  <hr>
  
  <p><strong>Updated</strong>: Thanks guys. now i am stuck at how to add emoji, here is my code</p>
  
  <pre><code>poll_emojis = {0: ':zero:', 1: ':one:', 2: ':two:', 3: ':three:', 4: ':four:'}
  
  @client.event
  async def on_message(message):
      if message.author == client.user:
          return
  
      if message.content.startswith('$create_poll'):
  
          poll_content = message.content.split('"')
          poll_text = poll_content[1]
          poll_options = []
          poll_option_text = ''
          count = 0
          for poll_option in poll_content[2:]:
              if poll_option.strip() != '':
                  poll_options.append(poll_option)
                  poll_option_text += '{0}: {1}\t'.format(poll_emojis[count], poll_option)
                  count += 1
  
          posted_message = await message.channel.send('**{0}**\n{1}'.format(poll_text, poll_option_text))
  
          count = 0
          for poll_option in poll_options:
              await posted_message.add_reaction(Emoji(poll_emojis[count]))
              count += 1
  </code></pre>