how to get a channel from name discord.js code example
Example 1: Find channel discord js
let channel = message.guild.channels.cache.get(channelid)
Example 2: how to search for a voice channel within a guild using discord.js
let channel = message.guild.channels.cache.get(channelid)
Example 3: message.channel.name.includes
if (!message.channel.name.includes("bot-commands")) return message.channel.send('do commands only at <#bot-commands-id>');
if(message.content.startswith(`${prefix}help`)){
message.channel.send('help command')
}