What is wrong with quick.db

already did and it showed the change name

I have an eval command and I use a?eval db.fetch(642540263067222022.lChannel) and it DOES fetch the channel

So… that would mean that you’re not fetching it with the right guild id. Did you log both of them?

no for my eval command now I will try the message.guild.id thing

I doesn’t work idk why

I think I’ve got it. So you’re fetching the channel based upon the raw lID value. If the channel doesn’t exist then its not set. But, the lID is an array, so you would have to do…

let lChannel = message.guild.channels.get(lID[0]);
1 Like

ok I will try to use that

Thanks so much! that worked!!

Yay! That was driving me crazy, :smile:
Happy Glitching

wait a sec I have tried that with the welcome channel part and it doesn’t work for that one even though the id is there @edwrddd

send more information

show your code please

if (value == "welcome") {
  let wID = db.get(`${message.guild.id}.wChannel`)
let wChannel = message.guild.channels.get(wID[0]);
  if(!wChannel) return message.channel.send("There is no welcome channel set");
  
   const embed = new RichEmbed()
	.setTitle('Welcome Channel')
		.setDescription(`The welcome channel is ${wChannel}`)
   message.channel.send(embed)
}

That’s because the welcome id isn’t an array

1 Like

so should I remove the [0] ?

yes you should remove it

1 Like

Im so stupid lol now it works thanks so much

can you tell me how to delete that log channel array cus I want it to just be a value