mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Change payload to use sticker_ids instead of sticker_items
This commit is contained in:
parent
655bf25cc8
commit
3a451c9c65
@ -455,7 +455,7 @@ class HTTPClient:
|
||||
payload['components'] = components
|
||||
|
||||
if stickers:
|
||||
payload['sticker_items'] = stickers
|
||||
payload['sticker_ids'] = stickers
|
||||
|
||||
return self.request(r, json=payload)
|
||||
|
||||
@ -495,7 +495,7 @@ class HTTPClient:
|
||||
if components:
|
||||
payload['components'] = components
|
||||
if stickers:
|
||||
payload['sticker_items'] = stickers
|
||||
payload['sticker_ids'] = stickers
|
||||
|
||||
form.append({'name': 'payload_json', 'value': utils.to_json(payload)})
|
||||
if len(files) == 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user