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]);
ok I will try to use that
Thanks so much! that worked!!
Yay! That was driving me crazy,
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
so should I remove the [0] ?
yes you should remove it
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