You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### public reloadEvents(): [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[void](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)>
75
75
76
76
Updates application events with the latest from "eventsPath".
### public reloadValidations(): [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[void](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)>
81
81
82
82
Updates application command validations with the latest from "validationsPath".
Copy file name to clipboardExpand all lines: apps/docs/content/docs/types/CommandKitData.mdx
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,8 @@ Private data for the CommandKit class.
18
18
| devUserIds | Array\<string> | N/A | List of developer user IDs to restrict devOnly commands to. |
19
19
| eventHandler | EventHandler | N/A | N/A |
20
20
| eventsPath |[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)| N/A | The path to your events directory. |
| validationsPath |[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)| N/A | The path to the validations directory. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/types/CommandKitOptions.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,6 @@ Options for instantiating a CommandKit handler.
16
16
| devRoleIds | Array\<string> | N/A | List of developer role IDs to restrict devOnly commands to. |
17
17
| devUserIds | Array\<string> | N/A | List of developer user IDs to restrict devOnly commands to. |
18
18
| eventsPath |[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)| N/A | The path to your events directory. |
| validationsPath |[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)| N/A | The path to the validations directory. |
| guildOnly | [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | N/A | A boolean indicating whether the command is guild-only. Used for built-in validation. |
0 commit comments