Skip to content

Commit

Permalink
Update InputChatBuilders.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi authored Sep 17, 2024
1 parent 58410a8 commit e979fd9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ internal class ChatInputCreateBuilderImpl(
state.defaultMemberPermissions,
state.dmPermission,
@Suppress("DEPRECATION") state.defaultPermission,
integrationTypes = state.integrationTypes,
contexts = state.contexts,
integrationTypes = Optional.missingOnEmpty(state.integrationTypes),
contexts = missingOnEmpty(state.contexts),
nsfw = state.nsfw,
)

Expand Down

0 comments on commit e979fd9

Please sign in to comment.