mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
docs(AutocompleteInteraction): change useless log in responds example (#8077)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user