Error: 'Select' object is not subscriptable

Можете помочь исправить ошибку

'Select' object is not subscriptable

Код

    msg = await ctx.send(
      '?',
      components = [
        Select(
          placeholder = 'Меня',
          options = [
            SelectOption( label = 'menu1', value = '1', description = 'test' )
          ]
        )
      ]
    )
    try:
      event = await client.wait_for( 'select_option', check = None )
      label = event.component[ 0 ].label
      if label == 'menu1':
        await event.send( 'test' )
      else:
        pass
    except Exception as e:
      print( e )

Ответы (0 шт):