const { Command } = require('../../../../interfaces/'); const { Ban } = require('../../../../moderation/infractions/'); class BanCommand extends Command { constructor(client) { super(client, { name: 'ban', module: 'moderation', usage: " [duration] [reason]", clientPermissions: ['BAN_MEMBERS'], memberPermissions: ['BAN_MEMBERS'], aliases: [ 'tempban', 'hardban' ], examples: [ "24h @nolan#2887 @Navy.gif#1998 raiding the server" ], keepQuotes: true, arguments: [ { name: 'points', aliases: ['point', 'modpoints', 'modpoint', 'pts', 'pt'], type: 'INTEGER', types: ['VERBAL', 'FLAG'], usage: '', default: (guild) => { return guild._settings.moderationPoints.points.KICK; }, min: 0, max: 100, ignoreInvalid: true, required: true }, { name: 'expiration', aliases: ['expire', 'expires', 'expirations'], type: 'TIME', types: ['FLAG'], usage: '