Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support nonce/enforceNonce when creating messages #128

Merged
merged 4 commits into from
Mar 16, 2024

Conversation

TTtie
Copy link
Member

@TTtie TTtie commented Feb 15, 2024

Adds support for Discord's new enforce_nonce parameter in createMessage() calls. Additionally, Message#nonce is now exposed.

Ref: discord/discord-api-docs@d8effe1

@TTtie TTtie added this to the 0.2.0 milestone Feb 15, 2024
@TTtie TTtie added type: enhancement New feature or request scope: gateway Issues or pull requests related to gateway functionality scope: REST Issues or pull requests related to REST functionality reason: Discord Issues or pull requests related to Discord's API changes scope: structures Issues or pull requests affecting the structure definitions labels Feb 15, 2024
@TTtie TTtie self-assigned this Feb 15, 2024
@TTtie TTtie changed the title feat: support nonce/enforceNonce when creating messages feat: support nonce/enforceNonce when creating messages Feb 15, 2024
@TTtie TTtie merged commit bbf3a8b into dev Mar 16, 2024
2 checks passed
@TTtie TTtie deleted the feat/enforce-nonce branch March 16, 2024 14:36
TTtie added a commit that referenced this pull request Mar 16, 2024
* feat: support `nonce`/`enforceNonce` when creating messages

* reword Message#nonce docs

* lint

* types: nonces aren't editable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reason: Discord Issues or pull requests related to Discord's API changes scope: gateway Issues or pull requests related to gateway functionality scope: REST Issues or pull requests related to REST functionality scope: structures Issues or pull requests affecting the structure definitions type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant