diff --git a/commands/admin/strike.js b/commands/admin/strike.js index 61447e2..8c65c91 100644 --- a/commands/admin/strike.js +++ b/commands/admin/strike.js @@ -79,6 +79,7 @@ const strikeM = require('../../models/strikes'); if(!args[0].includes('@')) return 'Error' if(args.join('').split('@').length>2) return 'Error' if(isNaN(args[0].replaceAll(/[<@>]/g, ''))) return 'Error' - return {reason:args.splice(-1,1).join(' ')} + args.splice(0,1) + return {reason:args.join(' ')} } }module.exports = strike;