Skip to content

Commit

Permalink
docs(ApplicationCommandManager): id parameter can take options (disco…
Browse files Browse the repository at this point in the history
…rdjs#9664)

* docs: mention about possible options

* chore: add suggested changes

Co-authored-by: Jiralite <[email protected]>

---------

Co-authored-by: Jiralite <[email protected]>
  • Loading branch information
2 people authored and almeidx committed Sep 24, 2023
1 parent 3f2d3d7 commit 5ffa2b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ApplicationCommandManager extends CachedManager {

/**
* Obtains one or multiple application commands from Discord, or the cache if it's already available.
* @param {Snowflake} [id] The application command's id
* @param {Snowflake|FetchApplicationCommandOptions} [id] Options for fetching application command(s)
* @param {FetchApplicationCommandOptions} [options] Additional options for this fetch
* @returns {Promise<ApplicationCommand|Collection<Snowflake, ApplicationCommand>>}
* @example
Expand Down

0 comments on commit 5ffa2b0

Please sign in to comment.