title: Reroll Giveaway command not responding when command run?
body: <p>I am trying to make a discord giveaway reroll command.
  The problem is that when the command is run it is not responding/rerolling the giveaway.
  I've looked on multiple sites with the same command and all of them did not work/have a fix for this.
  I also tried without the embeds to see if that was the problem with the code.
  Below is the reroll command code -
  (if the giveaway command code is needed I can provide it)</p>
  <pre><code>    @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:
              embed = discord.Embed(title=&quot;Command Error ⛔ - GameBot&quot;, description=f&quot;**The Id Of A Channel Was Entered Incorrectly!** &quot;, color=0x992d22)
              await ctx.send(embed=embed)
              return
          
          users = await new_msg.reactions[0].users().flatten()
          users.pop(users.index(client.user))
  
          winner = random.choice(users)
  
          embed = discord.Embed(title=&quot;Giveaways  - GameBot&quot;, description=f&quot;**Giveaway Has Been Rerolled!** \n \n**Winner -** \n`{winner.mention}`&quot;, color=0xe74c3c)
          await ctx.send(embed=embed)
  </code></pre>
  <p>Below is the giveaway command code -</p>
  <pre><code>@client.command()
      @commands.has_permissions(kick_members=True)
      async def giveaway(ctx):
          embed = discord.Embed(title=&quot;Giveaway Setup  - GameBot&quot;, description=f'**{ctx.author.mention} Giveaway Setup Is Now Starting... Please Answer These Questions Within 30 Seconds!**', color=0xe74c3c)
          await ctx.send(embed=embed)
  
          questions = [&quot;**What Channel Should The Giveaway Be Hosted In?** `EX : #general` &quot;,
                      &quot;**What Is The Duration Of The Giveaway?** `EX : S/M/H/D` &quot;,
                      &quot;**What Is The Giveaway Prize?** `EX : Gift Card` &quot;]
  
          answers = []
  
          def check(m):
              return m.author == ctx.author and m.channel == ctx.channel
  
          for i in questions:
              await ctx.send(i)
  
              try:
                  msg = await client.wait_for('message', timeout=30.0, check=check)
              except asyncio.TimeoutError:
                  embed = discord.Embed(title=&quot;Command Error ⛔ - GameBot&quot;, description=f&quot;**Please Answer All Of The Questions In Time... Be Prepared!** &quot;, color=0x992d22)
                  await ctx.send(embed=embed)
              else:
                  answers.append(msg.content)
          
          try:
              c_id = int(answers[0][2:-1])
          except:
              embed = discord.Embed(title=&quot;Command Error ⛔ - GameBot&quot;, description=f&quot;**Please Provide A Valid Channel For Me To Host The Giveaway In!** `EX : #general` &quot;, color=0x992d22)
              await ctx.send(embed=embed)
              return
  
          channel = client.get_channel(c_id)
  
          time = convert(answers[1])
          if time == -1:
              embed = discord.Embed(title=&quot;Command Error ⛔ - GameBot&quot;, description=f&quot;**The Time Constraint You Answered With Was Not A Valid Unit!** `EX : S/M/H/D` &quot;, color=0x992d22)
              await ctx.send(embed=embed)
              return
          elif time == -2:
              embed = discord.Embed(title=&quot;Command Error ⛔ - GameBot&quot;, description=f&quot;**The Time Must Include An Integer!** `EX : 1S, 1M, 1H, 1D` &quot;, color=0x992d22)
              await ctx.send(embed=embed)
              return
  
          prize = answers[2]
  
          embed = discord.Embed(title=&quot;Giveaway Setup  - GameBot&quot;, description=f'**Giveaway Channel -** \n`{channel.mention}` \n**Duration -** \n`{answers[1]}`', color=0xe74c3c)
          await ctx.send(embed=embed)
  
  
          givembed = discord.Embed(title=&quot;Giveaways  - GameBot&quot;, description=f'**Giveaway Prize/Description -** \n`{prize}`', color=0x2ecc71)
  
          givembed.add_field(name = &quot;**Host -**&quot;, value=ctx.author.mention)
  
          givembed.set_footer(text = f&quot;Ending {answers[1]} From Now! &quot;)
  
          my_msg = await channel.send(embed=givembed)
  
  
          await my_msg.add_reaction(&quot;&quot;)
  
  
          await asyncio.sleep(time)
  
  
          new_msg = await channel.fetch_message(my_msg.id)
  
  
          users = await new_msg.reactions[0].users().flatten()
          users.pop(users.index(client.user))
  
          winner = random.choice(users)
  
          embed = discord.Embed(title=&quot;Giveaways  - GameBot&quot;, description=f&quot;**Giveaway Has Ended!** \n \n**Winner -** \n`{winner.mention}` \n**Prize -** \n`{prize}`&quot;, color=0xe74c3c)
          await ctx.send(embed=embed)
  </code></pre>