docs(AutocompleteInteraction): change useless log in responds example (#8077)

This commit is contained in:
Ben
2022-06-13 09:16:54 -07:00
committed by GitHub
parent 9964454c29
commit ac7bf692bf

View File

@@ -76,7 +76,7 @@ class AutocompleteInteraction extends Interaction {
* value: 'option1', * value: 'option1',
* }, * },
* ]) * ])
* .then(console.log) * .then(() => console.log('Successfully responded to the autocomplete interaction'))
* .catch(console.error); * .catch(console.error);
*/ */
async respond(options) { async respond(options) {