title: Making a help command with select-menu discord.py
body: <p>I am using discord_slash.utils.manage_components for help commands. I am trying to create help command in python.</p>
  <p><a href="https://cdn.discordapp.com/attachments/908053630425366538/940270195040198696/unknown.png" rel="nofollow noreferrer">https://cdn.discordapp.com/attachments/908053630425366538/940270195040198696/unknown.png</a></p>
  <p>This my code</p>
  <pre class="lang-py prettyprint-override"><code>from discord_slash.utils.manage_components import create_select, create_select_option, create_actionrow
  
      @cog_ext.cog_slash(name=&quot;help&quot;, description=&quot;Get the list of commands&quot;)
      async def _help(self, ctx: SlashContext):
          select = create_select(
              options=[
                  create_select_option(&quot;General&quot;, value=&quot;General&quot;, emoji=&quot;&quot;, default=True),
                  create_select_option(&quot;Fun&quot;, value=&quot;Fun&quot;, emoji=&quot;&quot;, default=False),
                  create_select_option(&quot;Admin&quot;, value=&quot;Admin&quot;, emoji=&quot;️&quot;, default=False)
              ],
              placeholder=&quot;Choose your option&quot;,
              min_values=1,  # the minimum number of options a user must select
              max_values=1  # the maximum number of options a user can select
          )
          action_row = create_actionrow(select)
  
          # Embed general
          embed1 = discord.Embed(
              title=
              &quot;&lt;:mephisto:940249600969801748&gt; **Mephisto General Commands**&quot;,
              color=0xDC0000)
          embed1.add_field(name=&quot;`/ping`&quot;, value=&quot;Return websocket ping&quot;)
          embed1.add_field(name=&quot;`/invite`&quot;,
                                  value=&quot;Invite bot to your server&quot;)
          embed1.add_field(name=&quot;`/user-info [member]`&quot;,
                                  value=&quot;Get a someone info&quot;)
          embed1.add_field(
              name=&quot;`/weather-info [city]`&quot;,
              value=&quot;Tell us the weather of the city you want to know&quot;)
          embed1.add_field(name=&quot;`/donut`&quot;,
                                  value=&quot;Send ASCII art donut spinning&quot;)
          embed1.add_field(name=&quot;`/server-info`&quot;, value=&quot;Server info&quot;)
          embed1.add_field(name=&quot;`/info`&quot;,
                                  value=&quot;Get information about Mephisto bot&quot;)
  
          # Embed fun
          embed2 = discord.Embed(
              title=
              &quot;&lt;:mephisto:940249600969801748&gt; **Mephisto Fun Commands**&quot;,
              color=0xDC0000)
          embed2.add_field(name=&quot;`/joke`&quot;, value=&quot;Get a random joke&quot;)
          embed2.add_field(name=&quot;`/meme`&quot;,
                                  value=&quot;Get a random meme&quot;)
  
          # Embed admin
          embed3 = discord.Embed(
              title=
              &quot;&lt;:mephisto:940249600969801748&gt; **Mephisto Admin Commands**&quot;,
              color=0xDC0000)
          embed3.add_field(name=&quot;`/clear [amount]`&quot;, value=&quot;Clear messages&quot;)
          embed3.add_field(name=&quot;`/ban`&quot;,
                                  value=&quot;Ban someone user&quot;)
          embed3.add_field(name=&quot;`/Kick`&quot;,
                                  value=&quot;Kick someone user&quot;)
  
          pages = [embed1]
          page0 = [embed1]
          page1 = [embed2]
          page2 = [embed3]
          total_pages = [page0, page1, page2]
          page = 0
  
          category=&quot;General &quot;
  
          message = await ctx.send(embed=pages[page], components=[action_row])
  
          while True:
            try:
                interaction = await self.bot.wait_for(
                    'interaction',
                    check=lambda inter: inter.message.id == message.id,
                    timeout=60
                )
            except asyncio.TimeoutError:
                for row in action_row:
                    row.disable_components()
                return await message.edit(content='Timed out!', components=action_row)
  
            if isinstance(interaction.component, create_select):
                action_row[0][0].default=False
                
                create_select_option.default=True
                pages=page1
                page=0
                try:
                  action_row[1][0].disabled=True
                  action_row[1][1].disabled=True
                  print(&quot;check&quot;)
                except:
                  pass  
                await interaction.edit_origin(embed=pages[page], components = action_row)      
  </code></pre>
  <p>Select option doesn't working</p>
  <p>I couldn't understand what is the problem. Someone help me to solve this problem.</p>