Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Stickers): small refractor to be even with the discord-api docs #27

Closed
wants to merge 3 commits into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Jul 14, 2021

changes

  • as per Adds documentation for sticker_items discord/discord-api-docs#3171 the stickers property on the Message object has been deprecated and replaced with sticker_items.
  • deprecated Sticker.*asset properties as currently the asset url fetching is private.
  • added check if the sticker is "available" (it's on the discord docs and am curently not aware when this might be the case).

if discord/discord-api-docs#3128 Pull request gets merged in the next days i will update this pull request to support the new sticker packs/zodates.

@cakedan
Copy link
Member

cakedan commented Jul 14, 2021

Stickers and Sticker Items are two different things, one is a partial object and the other is the full object. I added them both to the beta branch if ya wanna take a look

Adding the depreciated tags would be a good idea for them tho, thank you!

@ghost
Copy link
Author

ghost commented Jul 15, 2021

Oh my bad.. i thought that the 0.16.0 was the latest stable branch should have checked it first . I will check the beta branch out!

@ghost ghost closed this Jul 15, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant