'use strict'; const { Events } = require('../../../util/Constants'); module.exports = (client, { d: data }) => { /** * Emitted whenever client user send interaction and error * @event Client#interactionFailed * @param {InteractionResponseBody} data data */ client.emit(Events.INTERACTION_FAILED, data); };