We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12f3933 commit 52864d6Copy full SHA for 52864d6
src/main/java/world/bentobox/challenges/panel/ConversationUtils.java
@@ -119,6 +119,9 @@ public String getPromptText(@NotNull ConversationContext conversationContext)
119
withFirstPrompt(confirmationPrompt).
120
withLocalEcho(false).
121
withTimeout(90).
122
+ // Use null value in consumer to detect if user has abandoned conversation.
123
+ addConversationAbandonedListener(ConversationUtils.getAbandonListener(consumer, user))
124
+ .
125
buildConversation(user.getPlayer()).
126
begin();
127
}
0 commit comments