From ac7bf692bfce8204e278205dde811515a51f154b Mon Sep 17 00:00:00 2001 From: Ben <88249114+BenjammingKirby@users.noreply.github.com> Date: Mon, 13 Jun 2022 09:16:54 -0700 Subject: [PATCH] docs(AutocompleteInteraction): change useless log in responds example (#8077) --- packages/discord.js/src/structures/AutocompleteInteraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/AutocompleteInteraction.js b/packages/discord.js/src/structures/AutocompleteInteraction.js index cc58e45d0..8c8174572 100644 --- a/packages/discord.js/src/structures/AutocompleteInteraction.js +++ b/packages/discord.js/src/structures/AutocompleteInteraction.js @@ -76,7 +76,7 @@ class AutocompleteInteraction extends Interaction { * value: 'option1', * }, * ]) - * .then(console.log) + * .then(() => console.log('Successfully responded to the autocomplete interaction')) * .catch(console.error); */ async respond(options) {