From c6c048c9199e0939a057831c4835bcc497285a4f Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 3 Jun 2023 23:35:07 -0400 Subject: [PATCH] Update default command with autocomplete --- Server/commands/ping.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Server/commands/ping.js b/Server/commands/ping.js index e4a5406..4d8a85c 100644 --- a/Server/commands/ping.js +++ b/Server/commands/ping.js @@ -18,6 +18,9 @@ module.exports = { requiresTokens: false, defaultTokenUsage: 0, deferInitialReply: false, + /*async autocomplete(interaction) { + const focusedValue = interaction.options.getFocused(); + },*/ async execute(interaction) { try{ await interaction.channel.send('**Pong.**'); // TODO - Add insults as the response to this command