From 7a821934b86de9131e7eaf3df017bb5d63111b21 Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Mon, 8 Jan 2024 20:42:33 +0700 Subject: [PATCH] Delete APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js --- ...PLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/client/websocket/handlers/APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js diff --git a/src/client/websocket/handlers/APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js b/src/client/websocket/handlers/APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js deleted file mode 100644 index b7b952a..00000000 --- a/src/client/websocket/handlers/APPLICATION_COMMAND_AUTOCOMPLETE_RESPONSE.js +++ /dev/null @@ -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} [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); -};