Browse Source

Fix nonce being sent even when not specified

pull/7494/head
Rapptz 3 years ago
parent
commit
e14153ddcb
  1. 2
      discord/http.py

2
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:

Loading…
Cancel
Save