Like what i'm trying to do is when someone puts !sell in the chat with an argument on it. If there isn't a argument/number on it, the bot replies with "Sorry you must put a number". Since I use discord.js a lot my arguments may be wrong so if it is, please tell me the correct argument: client.on('friendMessage', (senderID, message) => {var args = message.slice(prefix.length).trim().split(/ +/g);if(message == prefix + "sell") {if(!args.length) {client.chatMessage(senderID, 'You didn\'t provide a number');}}}); But here;'s the thing the bot doesn't reply when I didn't provide an argument. So anyways any tips and stuff would be greatly appreciated