get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
Using both v14.6.0-dev and 14.5.0
SOLUTION HERE : https://canary.discord.com/channels/222078108977594368/1023950108770979840/1023953532350627960
when i try to get a forumchannel at the ready event like so :
i get an error :
but when i change the channelID to some "normal text channel" it does its job without any problem
the same error appears in the same way when trying to fetch the channel on messageCreate event :
same error (c is not defined and returns null on console.log)
same thing, changing the channel if to some normal channel and it works like a charm
SOLUTION HERE : https://canary.discord.com/channels/222078108977594368/1023950108770979840/1023953532350627960
when i try to get a forumchannel at the ready event like so :
i get an error :
cannot read properties of undefined (reading threads)but when i change the channelID to some "normal text channel" it does its job without any problem
the same error appears in the same way when trying to fetch the channel on messageCreate event :
same error (c is not defined and returns null on console.log)
same thing, changing the channel if to some normal channel and it works like a charm