Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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')
}
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+8 =