📜  message.channel.name.includes - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:46.009000             🧑  作者: Mango

代码示例1
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')
}