mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-04 01:40:10 +00:00
fix(APIApplicationCommand): default_permission (#111)
BREAKING CHANGE: This renames the `default_permissions` property to `default_permission`, the correct spelling.
This commit is contained in:
@@ -31,7 +31,7 @@ export interface APIApplicationCommand {
|
||||
*
|
||||
* If missing, this property should be assumed as `true`
|
||||
*/
|
||||
default_permissions?: boolean;
|
||||
default_permission?: boolean;
|
||||
}
|
||||
|
||||
interface APIApplicationCommandOptionBase {
|
||||
|
||||
@@ -31,7 +31,7 @@ export interface APIApplicationCommand {
|
||||
*
|
||||
* If missing, this property should be assumed as `true`
|
||||
*/
|
||||
default_permissions?: boolean;
|
||||
default_permission?: boolean;
|
||||
}
|
||||
|
||||
interface APIApplicationCommandOptionBase {
|
||||
|
||||
Reference in New Issue
Block a user