const { Command } = require('../../../../interfaces/'); const { Warn } = require('../../../../moderation/infractions/'); class WarnCommand extends Command { constructor(client) { super(client, { name: 'warn', module: 'moderation', usage: " [reason]", memberPermissions: ['KICK_MEMBERS'], examples: [ "@nolan#2887 @Navy.gif#1998 being rude" ], arguments: [ { name: 'points', aliases: ['point', 'modpoints', 'modpoint', 'pts', 'pt'], type: 'INTEGER', types: ['VERBAL', 'FLAG'], usage: '', default: (guild) => { return guild._settings.moderationPoints.points.WARN; }, min: 0, max: 100, ignoreInvalid: true, required: true }, { name: 'expiration', aliases: ['expire', 'expires', 'expirations'], type: 'TIME', types: ['FLAG'], usage: '