title: How do I make my bot's Slash response detect reactions in discord.py?
body: <p>I have been using this function before Discord forced everyone to switch to slash commands. Now, when I move it to slash command format, it doesn't work.</p>
  <p>What used to work, now doesn't. I'm using this inside a cogs file. If that helps, great. If not, sorry.</p>
  <pre><code>async def combat_shop(self, ctx):
    member_id = ctx.author.id
    await utils.refresh_active(ctx, member_id, ctx.author.name)
    bancheck = await utils.ban_check(ctx)
    if bancheck is True:
      await ctx.send(&quot;&lt;:BanHammer_:957349442573467708&gt;┃You've been banned from using Daddy Bot. Take this to the support server: &lt;https://discord.gg/SbMyaxWFr9&gt; \nRemember: Being rude/commanding ***will not*** do you any good. Be kind and respectful.&quot;)
      return
    await utils.leveling_system(ctx, 5)
    dec = &quot;buy: `daddy buy &gt;id&lt;`\ndismantle: `daddy dismantle &gt;id&lt;`\n\n`r-combat`┃Random Combat Item┃&lt;:Dollar:952432145270452244&gt; 250k&quot;
    page1CS = embed = discord.Embed(title = &quot;**The Weapon Store&lt;:D_Axe:998668619561046077&gt;**&quot;, description = f&quot;{dec}&quot;, color = discord.Colour.teal())
    embed.add_field(name=&quot;Basic Weapons&quot;, value=&quot;`long_sword`┃&lt;:D_LongSword:1001951918706397235&gt; **Long Sword**┃&lt;:D_WeaponParts:998668591174000690&gt; 10\n`short_sword`┃&lt;:D_ShortSword:998668579207663616&gt;**Short Sword**┃&lt;:D_WeaponParts:998668591174000690&gt; 20\n`halberd`┃&lt;:D_Halberd:1001951880215277738&gt;**Halberd**┃&lt;:D_WeaponParts:998668591174000690&gt;50\n`axe`┃&lt;:D_Axe:998668619561046077&gt;**Axe**┃&lt;:D_WeaponParts:998668591174000690&gt; 35\n`gun`┃&lt;:D_Gun:1002626237618995351&gt;**Gun**┃&lt;:D_WeaponParts:998668591174000690&gt; 20\n`star_blaster`┃&lt;:D_StarBlaster:1001951963828715641&gt;**Star Blaster**┃&lt;:D_WeaponParts:998668591174000690&gt; 150&quot;, inline=True)
    embed.add_field(name=&quot;Patreon Weapons&quot;, value=&quot;`lightning_spear`┃&lt;:D_LightningSpear:998668565408403526&gt;**Lightning Spear**┃&lt;:D_WeaponParts:998668591174000690&gt; 50\n`potato_bomb`┃&lt;:D_PotatoBomb:998668568755445830&gt;**Potato Bomb**┃&lt;:D_WeaponParts:998668591174000690&gt; 100\n`shadow_dagger`┃&lt;:D_ShadowDagger:998668575747358810&gt;**Shadow Dagger**┃&lt;:D_WeaponParts:998668591174000690&gt; 50&quot;, inline=True)
    embed.set_footer(text=&quot;page 1/5&quot;)
    
    page2CS = embed = discord.Embed(title = &quot;**The Armor Store&lt;:D_ShadowHelmet:998668576930152508&gt;**&quot;, description = f&quot;{dec}&quot;, color = discord.Colour.teal())
    embed.add_field(name=&quot;Basic Armor Sets&quot;, value=&quot;`speedy_helmet`┃&lt;:D_SpeedyHelmet:998668582777008238&gt;**Speedy Helmet**┃&lt;:D_ArmorParts:998668617866559519&gt; 15\n`speedy_armor`┃&lt;:D_SpeedyArmor:998668581917184090&gt;**Speedy Armor**┃&lt;:D_ArmorParts:998668617866559519&gt; 20\n`turtle_shell_helmet`┃&lt;:D_TurtleShellHelmet:998668588107968522&gt;**Turtle Helmet**┃&lt;:D_ArmorParts:998668617866559519&gt;25\n`turtle_shell_armor`┃&lt;:D_TurtleShellArmor:998668586749010081&gt;**Turtle Armor**┃&lt;:D_ArmorParts:998668617866559519&gt; 30\n`leather_helmet`┃&lt;:D_LeatherHelmet:998668559632842873&gt;**Leather Helmet**┃&lt;:D_ArmorParts:998668617866559519&gt; 20\n`leather_armor`┃&lt;:D_LeatherArmor:998668558299041812&gt;**Leather Armor**┃&lt;:D_ArmorParts:998668617866559519&gt; 25&quot;, inline=True)
    embed.add_field(name=&quot;Patreon Armor Sets&quot;, value=&quot;`shadow_helmet`┃&lt;:D_ShadowHelmet:998668576930152508&gt;**Shadow Helmet**┃&lt;:D_ArmorParts:998668617866559519&gt; 50\n`shadow_armor`┃&lt;:D_ShadowArmor:998668574631661608&gt;**Shadow Armor**┃&lt;:D_ArmorParts:998668617866559519&gt; 60\n`potato_helmet`┃&lt;:D_PotatoHelmet:998668571683078225&gt;**Potato Helmet**┃&lt;:D_ArmorParts:998668617866559519&gt; 150\n`potato_armor`┃&lt;:D_PotatoArmor:998668567673323590&gt;**Potato Armor**┃&lt;:D_ArmorParts:998668617866559519&gt; 200\n`zeus_helmet`┃&lt;:D_ZeusHelmet:998668593363423322&gt;**Zeus Helmet**┃&lt;:D_ArmorParts:998668617866559519&gt; 50\n`zeus_armor`┃&lt;:D_ZeusArmor:998668592126115973&gt;**Zeus Armor**┃&lt;:D_ArmorParts:998668617866559519&gt; 60&quot;, inline=True)
    embed.set_footer(text=&quot;page 2/5&quot;)
  
    page3CS = embed = discord.Embed(title = &quot;**The Secondary Store&lt;:D_HealingPotion:998668556856197291&gt;**&quot;, description = f&quot;{dec}&quot;, color = discord.Colour.teal())
    embed.add_field(name=&quot;Basic Secondary&quot;, value=&quot;`strength_staff`┃&lt;:D_StrengthStaff:998668583959810088&gt;**Strength Staff**┃&lt;:D_WeaponParts:998668591174000690&gt; 50\n`defense_staff`┃&lt;:D_DefenseStaff:998668620823531531&gt;**Defense Staff**┃&lt;:D_WeaponParts:998668591174000690&gt; 50\n`shield`┃&lt;:D_Shield:998668578091970580&gt;**Shield**┃&lt;:D_WeaponParts:998668591174000690&gt; 50&quot;, inline=True)
    embed.add_field(name=&quot;Patreon Secondary&quot;, value=&quot;`walking_cane`┃&lt;:D_WalkingCane:998668589747945562&gt;**Walking Cane**┃&lt;:D_WeaponParts:998668591174000690&gt; 75\n`potato_buddy`┃&lt;:D_PotatoBuddy:998668569946620045&gt;**Potato Buddy**┃&lt;:D_WeaponParts:998668591174000690&gt; 150\n`thunder_rod`┃&lt;:D_ThunderRod:998668564196241418&gt;**Thunder Rod**┃&lt;:D_WeaponParts:998668591174000690&gt; 75&quot;, inline=True)
    embed.set_footer(text=&quot;page 3/5&quot;)
    
    page4CS = embed = discord.Embed(title = &quot;**The Special Store&lt;:D_PotatoParty:998668573004284008&gt;**&quot;, description = f&quot;{dec}&quot;, color = discord.Colour.teal())
    embed.add_field(name=&quot;Basic Specials&quot;, value=&quot;`earthquake`┃&lt;:D_Earthquake:998668623512084560&gt;**Earthquake**┃&lt;:Dollar:952432145270452244&gt; 1m\n`life_steal`┃&lt;:D_LifeSteal:998668560706572458&gt;**Life Steal**┃&lt;:Dollar:952432145270452244&gt; 1m&quot;, inline=True)
    embed.add_field(name=&quot;Patreon Specials&quot;, value=&quot;`nightmare`┃&lt;:D_Nightmare:998668566146592795&gt;**Nightmare**┃&lt;:Dollar:952432145270452244&gt; 1m\n`potato_party`┃&lt;:D_PotatoParty:998668573004284008&gt;**Potato Party**┃&lt;:Dollar:952432145270452244&gt; 1m\n`thunderstorm`┃&lt;:D_ThunderStorm:998675226743275530&gt;**Thunderstorm**┃&lt;:Dollar:952432145270452244&gt; 1m\n`healing_orb`┃&lt;:D_HealingOrb:998668625097543750&gt;**Healing Orb**┃&lt;:Dollar:952432145270452244&gt; 1m&quot;, inline=True)
    embed.set_footer(text=&quot;page 4/5&quot;)
  
    page5CS = embed = discord.Embed(title = &quot;**The Items Store&lt;:D_HealingPotion:998668556856197291&gt;**&quot;, description = f&quot;{dec}&quot;, color = discord.Colour.teal())
    embed.add_field(name=&quot;Items&quot;, value=&quot;`healing_potion`┃&lt;:D_HealingPotion:998668556856197291&gt;**Healing Potion**┃&lt;:Dollar:952432145270452244&gt; 50k\n`bomb`┃&lt;:D_Bomb:1001952068837330984&gt;**Bomb**┃&lt;:Dollar:952432145270452244&gt; 50k\n`damage_upgrade`┃&lt;:D_DamageUpgradeStone:998668585251651735&gt;**Damage Upgrade**┃&lt;:Dollar:952432145270452244&gt; 250k\n`defense_upgrade`┃&lt;:D_DefenseUpgradeStone:998668621951795281&gt;**Defense Upgrade**┃&lt;:Dollar:952432145270452244&gt; 250k\n`speed_upgrade`┃&lt;:D_SpeedUpgradeStone:998668580902150144&gt;**Speed Upgrade**┃&lt;:Dollar:952432145270452244&gt; 250k&quot;)
    embed.set_footer(text=&quot;page 5/5&quot;)
  
    test_pages_shop = [page1CS, page2CS, page3CS, page4CS, page5CS]
  
    buttons_shop = [&quot;◀&quot;, &quot;▶&quot;]
    current_shop = 0
    msg = await ctx.send(embed=test_pages_shop[current_shop])
  
    for button in buttons_shop:
      await msg.add_reaction(button)
      
    while True:
      try:
        reaction, user = await self.bot.wait_for(&quot;reaction_add&quot;, check=lambda reaction, user: user == ctx.author and reaction.message == msg and reaction.emoji in buttons_shop, timeout=25)
        
      except asyncio.TimeoutError:
        await msg.clear_reactions()
        break
        return
      else:
        previous_pages = current_shop
  
        if reaction.emoji == &quot;◀&quot;:
          if current_shop &gt; 0:
            current_shop -= 1
        
        elif reaction.emoji == &quot;▶&quot;:
          if current_shop &lt; len(test_pages_shop) - 1:
            current_shop += 1
            
        for button in buttons_shop:
          await msg.remove_reaction(button, ctx.author)
    
        if current_shop != previous_pages:
          await msg.edit(embed=test_pages_shop[current_shop])
  </code></pre>
  <p>Keep in mind that I removed the @cog_ext.cog_slash part because that's not the issue. I've been doing testing beforehand and I found that it gets stuck on the <code>@cog_ext.cog_slash</code> part.</p>