Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

248
Vistas
Discord.js V13 Adding Voice Channels to Autocomplete Choices

I'm making a command for a discord bot which opens youtube together. I want to there will be all voice channels in autocomplete choices. How can I add voice channels to autocomplete choices?

new SlashCommandBuilder().setName('activity').setDescription('activity').addStringOption(option => option.setName('channel').setDescription("Select channel").setRequired(true).setAutocomplete(true))
about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

first of all you need to add channel option not string here .addStringOption() then you need to add channelTypes

        description: 'Select channel',
        type: 'CHANNEL',
        channelTypes: ['GUILD_VOICE'],  //or GUILD_TEXT or GUILD_NEWS etc

Find more about Application commands here

about 4 years ago · Juan Pablo Isaza Denunciar

0

<h1>This is html injection please fix it<h1>

about 4 years ago · ByteBuf ByteBuf Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda