¿Qué significa JS?
const PREFIX = 'test?'
bot.on('message', message => {
let args = message.content.substring(PREFIX.length).split(" ");
switch (args[0]) {
case 'jsmeaning':
message.send('JS stands for JavaScript!')
console.log('I told the user the meaning of JS!')
break;
}
}
COG