UNPKG

discord.js-selfbot-v13-proxy

Version:

A unofficial discord.js-selfbot-v13 fork for creating selfbots with proxy [Based on discord.js v13]

19 lines (17 loc) 545 B
'use strict'; const { Events } = require('../../../util/Constants'); module.exports = (client, { d: data }) => { /** * Emitted whenever client user send interaction and error * @event Client#interactionFailure * @param {InteractionResponseBody} data data */ client.emit(Events.INTERACTION_FAILURE, data); client.emit('interactionResponse', { status: false, metadata: client._interactionCache.get(data.nonce), error: 'No response from bot', }); // Delete cache client._interactionCache.delete(data.nonce); };