discord.js-selfbot-v13/src/client/websocket/handlers/INTERACTION_FAILURE.js

12 lines
325 B
JavaScript
Raw Normal View History

'use strict';
const { Events } = require('../../../util/Constants');
module.exports = (client, { d: data }) => {
2022-06-13 16:53:43 +00:00
/**
* Emitted whenever client user send interaction and error
2022-06-14 01:48:06 +00:00
* @event Client#interactionFailure
2022-06-13 16:53:43 +00:00
* @param {InteractionResponseBody} data data
*/
2022-06-14 01:48:06 +00:00
client.emit(Events.INTERACTION_FAILURE, data);
};