title: How To make a giveaway Command in Discord.py?
body: <p>So I tried using this code for a giveaway command, but for some reason it never shows a reaction for users to enter. I tried changing the giveaway icon, maybe rerunning the code, but no luck.</p>
  <pre><code>@client.command()
  @commands.has_role(&quot;Admin&quot;)
  async def gstart(ctx, mins: int, *, prize: str):
      embed = discord.Embed(title=&quot;Giveaway!&quot;,
                            description=f&quot;{prize}&quot;,
                            color=ctx.author.color)
  
      end = datetime.datetime.utcnow() + datetime.timedelta(seconds=mins * 60)
  
      embed.add_field(name=&quot;Ends At:&quot;, value=f&quot;{end} UTC&quot;)
  
      my.msg = await ctx.send(embed=embed)
      await my.msg.add_reaction(&quot;&quot;)
  
      await asyncio.sleep(mins)
  
      new_msg = await ctx.channel.fetch_message(my_msg.id)
  
      users = await new_msg.reactions[0].users().flatten()
  
      users.pop(users.index(client.user))
  
      winner = random.choice(users)
  
      await ctx.send(f&quot;Congratulations! {winner.mention} won {prize}!&quot;)
  
  
  @client.command()
  @commands.has_permissions(kick_members=True)
  async def reroll(ctx, channel: discord.TextChannel, id_: int):
      try:
          new_msg = await channel.fetch_message(id_)
      except:
          await ctx.send(
              &quot;The ID that was entered was incorrect, make sure you have entered the correct giveaway message ID.&quot;
          )
      users = await new_msg.reactions[0].users().flatten()
      users.pop(users.index(client.user))
  
      winner = random.choice(users)
  
      await channel.send(
          f&quot;Congratulations the new winner is: {winner.mention} for the giveaway rerolled!&quot;
      )
   
  </code></pre>
  <p>Anyone know how to fix this?</p>