How to get message by id
for(let channel of interaction.guild.channels.cache) await console.log(channel[1].messages.fetch(messageId))
does not works
does not works
npm list discord.js and node node -v version?console.log(await ...) not await console.log(...)channel isn't a array,interaction.guild.channels.cache isn't a array, is a GuildChannelhttps://discord.com/channels/222078108977594368/1013740066327248946/1013786722678612038
console.log(await ...)await console.log(...)channelinteraction.guild.channels.cacheGuildChannel