get a channel id from a channel name discord.js code example
Example 1: how to get a channelid discord.js
message.guild.channels.cache.get(channelid);
Example 2: get channel discord.js
client.channels.cache.get('id')
message.guild.channels.cache.get(channelid);
client.channels.cache.get('id')