UNPKG

discord.js-selfbot-v13-proxy

Version:

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

24 lines (21 loc) 742 B
'use strict'; const { Events } = require('../../../util/Constants'); module.exports = (client, { d: data }) => { /** * @typedef {object} AutocompleteResponseChoice * @property {string} name The name of the choice * @property {string} value The value of the choice */ /** * @typedef {object} AutocompleteResponse * @property {Snowflake} [nonce] Snowflake of the data * @property {Array<AutocompleteResponseChoice>} [choices] Array of choices */ /** * Emitted when receiving a response from Discord * @event Client#applicationCommandAutocompleteResponse * @param {AutocompleteResponse} data Data * @deprecated Test only */ client.emit(Events.APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE, data); };