const { Command } = require('../../../../interfaces/'); const { Ban } = require('../../../../moderation/infractions/'); const { MessageAttachment } = require('discord.js'); class MassBanCommand extends Command { constructor(client) { super(client, { name: 'massban', module: 'administration', usage: " [reason..]", clientPermissions: ['BAN_MEMBERS'], memberPermissions: ['MANAGE_GUILD', 'ADMINISTRATOR'], aliases: [], examples: [ "--accountage 1d raiding the server" ], restricted: true, archivable: false, arguments: [ { name: 'exact', usage: '', type: 'STRING', types: ['FLAG'], required: true }, { name: 'contains', aliases: ['includes'], usage: '', type: 'STRING', types: ['FLAG'], required: true }, { name: 'startswith', aliases: [ 'starts', 'begins', 'beginswith' ], usage: '', type: 'STRING', types: ['FLAG'], required: true }, { name: 'endswith', aliases: ['ends'], usage: '', type: 'STRING', types: ['FLAG'], required: true }, { name: 'accountage', aliases: ['accage'], type: 'TIME', usage: '