1const PREFIX = 'test?'
2
3bot.on('message', message => {
4
5 let args = message.content.substring(PREFIX.length).split(" ");
6
7 switch (args[0]) {
8 case 'jsmeaning':
9 message.send('JS stands for JavaScript!')
10 console.log('I told the user the meaning of JS!')
11 break;
12 }
13}
1let heresTheAnswer = "it basically means JavaScript, simple as it is";
2console.log(heresTheAnswer);