diff --git a/deno/payloads/v10/_interactions/applicationCommands.ts b/deno/payloads/v10/_interactions/applicationCommands.ts index f64ba416..788cc0cc 100644 --- a/deno/payloads/v10/_interactions/applicationCommands.ts +++ b/deno/payloads/v10/_interactions/applicationCommands.ts @@ -73,11 +73,11 @@ export interface APIApplicationCommand { /** * Set of permissions represented as a bitset */ - default_member_permissions?: Permissions | null; + default_member_permissions: Permissions | null; /** * Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible */ - dm_permission?: boolean | null; + dm_permission?: boolean; /** * Whether the command is enabled by default when the app is added to a guild * diff --git a/deno/payloads/v9/_interactions/applicationCommands.ts b/deno/payloads/v9/_interactions/applicationCommands.ts index 7e47657c..5948caad 100644 --- a/deno/payloads/v9/_interactions/applicationCommands.ts +++ b/deno/payloads/v9/_interactions/applicationCommands.ts @@ -73,11 +73,11 @@ export interface APIApplicationCommand { /** * Set of permissions represented as a bitset */ - default_member_permissions?: Permissions | null; + default_member_permissions: Permissions | null; /** * Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible */ - dm_permission?: boolean | null; + dm_permission?: boolean; /** * Whether the command is enabled by default when the app is added to a guild * diff --git a/payloads/v10/_interactions/applicationCommands.ts b/payloads/v10/_interactions/applicationCommands.ts index 6fd938d9..d7cb3278 100644 --- a/payloads/v10/_interactions/applicationCommands.ts +++ b/payloads/v10/_interactions/applicationCommands.ts @@ -73,11 +73,11 @@ export interface APIApplicationCommand { /** * Set of permissions represented as a bitset */ - default_member_permissions?: Permissions | null; + default_member_permissions: Permissions | null; /** * Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible */ - dm_permission?: boolean | null; + dm_permission?: boolean; /** * Whether the command is enabled by default when the app is added to a guild * diff --git a/payloads/v9/_interactions/applicationCommands.ts b/payloads/v9/_interactions/applicationCommands.ts index 72dbebcb..9b100bbb 100644 --- a/payloads/v9/_interactions/applicationCommands.ts +++ b/payloads/v9/_interactions/applicationCommands.ts @@ -73,11 +73,11 @@ export interface APIApplicationCommand { /** * Set of permissions represented as a bitset */ - default_member_permissions?: Permissions | null; + default_member_permissions: Permissions | null; /** * Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible */ - dm_permission?: boolean | null; + dm_permission?: boolean; /** * Whether the command is enabled by default when the app is added to a guild *