how can i make multiple commands with the discord.js module?
code:
const Discord = require('discord.js');
const client = new Discord.Client();
client.on('message', msg => {
if (msg.content === '!hello') {
msg.reply('Hello!!');
}
});
client.login('token');
So, how do i make it so I can use multiple commands? Like !hi and !whatsup. I hope someone can help. Thanks
.indexOf()?