define reason in discord.js code example
Example 1: discord.js reason
let reason = args.slice(1).join(' ');
if (!reason) reason = '`None`';
if (reason.length > 1024) reason = reason.slice(0, 1021) + '...';
Example 2: define reason in discord.js
let reason = args.slice(1).join(" ");
if (!reason) reason = 'No Reason Given';