got a message "TypeError: Cannot read property 'get' of undefined" whatever channel id I put in which is very annoying here is my code (very simple atm)
bot.on('guildMemberAdd',user => {
user.guild.channels.get("[existing channel ID]").send("SomeText")
});
Am I doing it wrong? I tried with .find("name","channel_name")
got the same error and tried with a console log as "cache" and got the awnser "undefined" as it is a key feature of my bot to be abble to post in a specific channel it's annoying... ^^'
TY in advance for your help gonna keep trying to make it work^... ^^'