We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sapphiredev
Learn more about funding links in repositories.
Report abuse
1 parent 422a338 commit 0e04eb3Copy full SHA for 0e04eb3
src/lib/utils/application-commands/normalizeInputs.ts
@@ -33,12 +33,14 @@ function isBuilder(
33
function addDefaultsToChatInputJSON(data: RESTPostAPIChatInputApplicationCommandsJSONBody): RESTPostAPIChatInputApplicationCommandsJSONBody {
34
data.dm_permission ??= true;
35
data.type ??= ApplicationCommandType.ChatInput;
36
+ data.default_member_permissions ??= null;
37
38
return data;
39
}
40
41
function addDefaultsToContextMenuJSON(data: RESTPostAPIContextMenuApplicationCommandsJSONBody): RESTPostAPIContextMenuApplicationCommandsJSONBody {
42
43
44
45
46
0 commit comments