Skip to content

Commit

Permalink
docs: fix typo ("autoCompleteRun" to "autocompleteRun") (#249)
Browse files Browse the repository at this point in the history
Change autoCompleteRun to the correct autocompleteRun
  • Loading branch information
Upsidedly authored Dec 1, 2023
1 parent e12e863 commit 86f9aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Guide/interaction-handlers/autocomplete.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class AutocompleteHandler extends InteractionHandler {
## Autocomplete run method

Sapphire will first attempt to find the command class for which the autocomplete is for, and if it exists _and_ it has
the `autoCompleteRun` method set, call it, otherwise we pass it down to interaction handlers. It's the best of both
the `autocompleteRun` method set, call it, otherwise we pass it down to interaction handlers. It's the best of both
worlds, and lets you decide which is better for your projects.

The downside of using `autocompleteRun` is if you have multiple commands that have a similar option and use the same
Expand Down

1 comment on commit 86f9aaa

@vercel
Copy link

@vercel vercel bot commented on 86f9aaa Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.