From e14153ddcb4aca304ac13a51fabc8055eb4e63f3 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 18 Feb 2022 23:15:46 -0500 Subject: [PATCH] Fix nonce being sent even when not specified --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index ac238e4d9..a3f83ce81 100644 --- a/discord/http.py +++ b/discord/http.py @@ -184,7 +184,7 @@ def handle_message_parameters( else: payload['components'] = [] - if nonce is not MISSING: + if nonce is not None: payload['nonce'] = str(nonce) if message_reference is not MISSING: