const { Command } = require('../../../../interfaces/'); const { Nickname } = require('../../../../moderation/infractions/'); class NicknameCommand extends Command { constructor(client) { super(client, { name: 'nickname', module: 'moderation', aliases: [ 'nick' ], usage: " [name] [reason]", clientPermissions: ['MANAGE_NICKNAMES'], memberPermissions: ['MANAGE_NICKNAMES'], examples: [ 'nick @nolan#2887 "censored name" inappropriate username' ], rawExamples: true, arguments: [ { name: 'points', aliases: ['point', 'modpoints', 'modpoint', 'pts', 'pt'], type: 'INTEGER', types: ['VERBAL', 'FLAG'], usage: '', default: (guild) => { return guild._settings.moderationPoints.points.MUTE; }, min: 0, max: 100, ignoreInvalid: true, required: true }, { name: 'expiration', aliases: ['expire', 'expires', 'expirations'], type: 'TIME', types: ['FLAG'], usage: '