Définir la raison dans Discord.js
let reason = args.slice(1).join(" ");
if (!reason) reason = 'No Reason Given';
Calm Copperhead
let reason = args.slice(1).join(" ");
if (!reason) reason = 'No Reason Given';
let reason = args.slice(1).join(' ');
if (!reason) reason = '`None`';
if (reason.length > 1024) reason = reason.slice(0, 1021) + '...';