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

156
Visualizações
How to get a list of particular data from quickdb?

I'm trying to make list command to list the stored data for this code , I tried a lot but it doesn't work for me

run: async (client, message, args) => {
message.delete({ timeout: 1000 })
if (!client.config.bowner.includes(message.author.id)) return;
if (!args[0]) {
  return message.reply(
    new discord.MessageEmbed({
      color: client.embed.cf,
      description: "Target user not mentioned!",
    })
  );
}
const target =
  message.mentions.members.first() ||
  message.guild.members.guild.cache.get[0];

if (!args[1]) return message.reply("Add or Remove")

if (args[1] === "add") {
  db.push("noprefix" + target.id)
  return message.reply("Done").then(m => m.delete({ timeout: 3000 }))
} else if (args[1] === 'remove') {
  db.delete("noprefix" + target.id)
  return message.reply("Done").then(m => m.delete({ timeout: 3000 }))
}
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

In your database there's no exact noprefix db. There's always something next to noprefix as you said, + target id. So you can collect noprefix things in your one data as noprefix and make it an array, then push every noprefix things into it. Then you can use it.

about 4 years ago · Juan Pablo Isaza Relatório
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