Skip to content

Commit e29ccdc

Browse files
doc: improvements
1 parent 1b85889 commit e29ccdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/interactionRouter/autoCompleteKeyBuilder.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ export interface APIApplicationCommandAutocompleteInteractionModified {
4444
* const weather = router.command(
4545
* (builder) =>
4646
* builder
47-
* .setName("weather") // The command name
48-
* .setDescription("QuQuery weather information!") // The command description
47+
* .setName("weather")
48+
* .setDescription("Query weather information!")
4949
* .addStringOption(option =>
5050
* option
51-
* .setName("city") // Option name
52-
* .setDescription("City to get the weather for") // Option description
51+
* .setName("city")
52+
* .setDescription("City to get the weather for")
5353
* .setAutocomplete(true) // Enable autocomplete for this option
5454
* ),
5555
* handler

0 commit comments

Comments
 (0)