const { Infraction } = require('../interfaces/'); class NoteInfraction extends Infraction { static type = 'NOTE'; constructor(client, opts = {}) { super(client, { targetType: 'USER', arguments: opts.arguments, type: opts.type, executor: opts.executor.user, target: opts.target.user, reason: opts.reason, guild: opts.guild, channel: opts.channel, silent: opts.silent, points: opts.points, expiration: opts.expiration, data: opts.data }); this.client = client; this.member = opts.target; } async execute() { await this.handle(); return this._succeed(); } } module.exports = NoteInfraction;