mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 10:02:56 +00:00
Fix nonce being sent even when not specified
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user