Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js reason


    let reason = args.slice(1).join(' ');
    if (!reason) reason = '`None`';
    if (reason.length > 1024) reason = reason.slice(0, 1021) + '...';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reason
ADD COMMENT
Topic
Name
9+1 =