Discord.js, если аргументы нулевы
let arguments = args.slice(0).join(' ');
if(!arguments) return;
//You don't have to keep "return;", you can return anything, for example, a message
HeyItsDeveloperRhys