Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi authored Aug 26, 2024
1 parent f33f782 commit a007477
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ public class UserMessageCreateBuilder : AbstractMessageCreateBuilder(), RequestB
/** A value that can be used to verify a message was sent (up to 25 characters). */
public var nonce: String? by ::_nonce.delegate()

private var _enforeceNonce: OptionalBoolean = OptionalBoolean.Missing
private var _enforceNonce: OptionalBoolean = OptionalBoolean.Missing

/**
* If `true` and [nonce] is present, it will be checked for uniqueness in the past few minutes.
* If another message was created by the same author with the same nonce,
* that message will be returned and no new message will be created.
*/
public var enforceNonce: Boolean? by ::_enforeceNonce.delegate()
public var enforceNonce: Boolean? by ::_enforceNonce.delegate()

private var _messageReference: OptionalSnowflake = OptionalSnowflake.Missing

Expand Down

0 comments on commit a007477

Please sign in to comment.