Delete APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js

This commit is contained in:
Elysia 2024-01-08 20:42:33 +07:00
parent 924c442ad4
commit 7a821934b8

View File

@ -1,23 +0,0 @@
'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);
};