how to get a channelid discord.js

JavaScript
message.guild.channels.cache.get(channelid);
Source

Also in JavaScript: