discord.js-selfbot-v13-fixed4
Version:
A unofficial discord.js fork for creating selfbots [Based on discord.js v13]
16 lines (14 loc) • 410 B
JavaScript
;
const { Events } = require('../../../util/Constants');
module.exports = (client, { d: data }) => {
/**
* Emitted whenever client user send interaction and success
* @event Client#interactionSuccess
* @param {InteractionResponseBody} data data
*/
client.emit(Events.INTERACTION_SUCCESS, data);
client.emit('interactionResponse', {
status: true,
metadata: data,
});
};