mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix nonce being sent even when not specified
This commit is contained in:
parent
4e331704ae
commit
e14153ddcb
@ -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…
x
Reference in New Issue
Block a user