Skip to content

Defer multiple public responses to slash commands #910

Answered by lukellmann
orichalque asked this question in Help
Discussion options

You must be logged in to vote

the code would look something like this:

val deferred = interaction.deferPublicResponse()
val response = deferred.respond { content = "initial response" }
response.createPublicFollowup { content = "followup 1" }
response.createPublicFollowup { content = "followup 2" }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@orichalque
Comment options

@lukellmann
Comment options

Answer selected by orichalque
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #909 on January 11, 2024 14:47.