Skip to content

Add MessageChannel#sendTypingContinuously methods to send typing indicator during a try-with-resources block#3047

Open
Vampire wants to merge 1 commit intodiscord-jda:masterfrom
Vampire:sendTypingContinuously
Open

Add MessageChannel#sendTypingContinuously methods to send typing indicator during a try-with-resources block#3047
Vampire wants to merge 1 commit intodiscord-jda:masterfrom
Vampire:sendTypingContinuously

Conversation

@Vampire
Copy link
Contributor

@Vampire Vampire commented Mar 17, 2026

Pull Request Etiquette

  • I have checked the PRs for upcoming features/bug fixes.
  • I have read the contributing guidelines.
  • I applied the code formatter to my changes with ./gradlew format

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

This PR makes this possible:

try (var _ = messageChannel.sendTypingContinuously()) {
    // do lengthy stuff
}
sendReply();

@Vampire Vampire force-pushed the sendTypingContinuously branch from 186df58 to 6d0d58f Compare March 17, 2026 21:18
@Vampire Vampire force-pushed the sendTypingContinuously branch from 6d0d58f to 06f14df Compare March 19, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant