how to get a channel by id discord.js code example
Example 1: discord.js get user by id
client.users.cache.find(user => user.id === 'USER-ID')
Example 2: get channel id discord js v12
client.channels.cache.get('id')
Example 3: Find channel discord js
// Insert the Channel ID in the brackets. TO find that, right click the
// channel and select "Copy ID". Discord Developer must be on.
let channel = message.guild.channels.cache.get(channelid)
Example 4: how to get a channelid discord.js
message.guild.channels.cache.get(channelid);