Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

331
Visualizações
When pushing to an array the value is not in root javascript
const contributors = ["Here is a list of them:"];

fetch('https://api.github.com/repos/kayano-bot/kayano/contributors')
  .then(response => response.json())
  .then(data => data.forEach(user => contributors.push(user.login)))
  .then(console.log(contributors))

export const team = [
    {
        'name': 'Pukima',
        'discrim': '7331',
        'mainRole': 'Main Dev & Creator',
        'secRoles': 'Ideas, Planning, Mannager, Code, Maintain, Dependencies, Reviewer',
        'desc': 'Pukima is the Main Dev and Creator of Kayano. He had the idea behind Kayano and wanted to create Kayano because he didn\'t wanted to pay for a bot which does not even have everything he needed. So he decided to create his own bot. Later he invited bolo to join his journey and to help out.'
    },
    {
        'name': 'bolo',
        'mainRole': 'Secondary Dev',
        'desc': 'bolo is the newest addition to the Kayano team and she\'s helping out Pukima with developing the bot and eventually even the website. Not much more to say for now except: "Welcome to the team!"'
    },
    {
        'name': 'All other awesome contributors!',
        'desc': contributors.join('\u000A'),
    },
    {
        'name': 'You?',
        'mainRole': 'Marketing, Web Backend, discord.js Dev',
        'shortDesc': 'We are searching for new Members to join the team! Contact Pukima for more informations.',
    }
]

I have this code but the contributors does not get added to the desc even though it is in the Array somehow but I don't know how to access everything.

The console logged array

Array in console

What I get:

Actual content

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda