File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ class Client extends HttpInteractionServer {
203203 /**
204204 * Registers a button interaction with its associated middleware.
205205 *
206- * @param fns {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function | Async } functions. See {@link GenericMiddleware } for callback parameters.
206+ * @param fns - {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function | Async} functions. See {@link GenericMiddleware} for callback parameters.
207207 * @example
208208 * ```ts
209209 * router.button("custom_button_id", buttonMiddleware);
@@ -299,7 +299,7 @@ class Client extends HttpInteractionServer {
299299
300300 /**
301301 * Registers an autocomplete interaction with its associated middleware.
302- *
302+ *
303303 * @param fns {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function | Async } functions. See {@link GenericMiddleware } for callback parameters.
304304 * @example
305305 * ```ts
@@ -314,7 +314,7 @@ class Client extends HttpInteractionServer {
314314 * .setDescription("City to get the weather for") // Option description
315315 * .setAutocomplete(true) // Enable autocomplete for this option
316316 * ),
317- * (interaction) => handler
317+ * handler
318318 * );
319319 * router.autocomplete(githubQuery.getAutoCompleteKey("city"), autocompleteMiddleware);
320320 * ```
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export interface APIApplicationCommandAutocompleteInteractionModified {
5252 * .setDescription("City to get the weather for") // Option description
5353 * .setAutocomplete(true) // Enable autocomplete for this option
5454 * ),
55- * (interaction) => handler
55+ * handler
5656 * );
5757 * router.autocomplete(weather.getAutoCompleteKey("city"), autocompleteMiddleware);
5858 */
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ class InteractionRouter {
239239 * .setDescription("City to get the weather for")
240240 * .setAutocomplete(true)
241241 * ),
242- * (interaction) => handler
242+ * handler
243243 * );
244244 * router.autocomplete(githubQuery.getAutoCompleteKey("city"), autocompleteMiddleware);
245245 * ```
You can’t perform that action at this time.
0 commit comments