JDA icon indicating copy to clipboard operation
JDA copied to clipboard

Add support for enforce_nonce

Open MinnDevelopment opened this issue 1 year ago • 0 comments

Pull Request Etiquette

Changes

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

Closes Issue: NaN

Description

Adds support for the new enforce_nonce field on the message create endpoint. This enables automatic deduping of messages sent to channels. JDA will now automatically set a unique random nonce on every message, unless a user defined nonce is specified instead.

Reference: https://github.com/discord/discord-api-docs/pull/6647

MinnDevelopment avatar Feb 08 '24 19:02 MinnDevelopment