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

fix: Correct base path for GIF stickers #10330

Merged
merged 4 commits into from
Jun 7, 2024
Merged

fix: Correct base path for GIF stickers #10330

merged 4 commits into from
Jun 7, 2024

Conversation

Jiralite
Copy link
Member

@Jiralite Jiralite commented Jun 6, 2024

Please describe the changes this PR makes and why it should be merged:
GIF stickers must be accessed via the media proxy.1

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Footnotes

  1. https://discord.com/developers/docs/reference#image-formatting-cdn-endpoints

Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Jun 7, 2024 3:15pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Jun 7, 2024 3:15pm

Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.07%. Comparing base (7f60a8f) to head (5f06b95).

Additional details and impacted files
@@             Coverage Diff             @@
##             main   #10330       +/-   ##
===========================================
+ Coverage   19.37%   41.07%   +21.70%     
===========================================
  Files          32       49       +17     
  Lines        6267     8944     +2677     
  Branches      115      392      +277     
===========================================
+ Hits         1214     3674     +2460     
- Misses       5053     5267      +214     
- Partials        0        3        +3     
Flag Coverage Δ
proxy 78.52% <ø> (+59.38%) ⬆️
rest 92.68% <100.00%> (+73.54%) ⬆️
ws 51.73% <ø> (+32.59%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jiralite Jiralite linked an issue Jun 6, 2024 that may be closed by this pull request
@ckohen
Copy link
Member

ckohen commented Jun 7, 2024

(not blocking on it, but tests would be nice)

@kodiakhq kodiakhq bot merged commit 599ad3e into main Jun 7, 2024
24 checks passed
@kodiakhq kodiakhq bot deleted the fix/sticker-gif-path branch June 7, 2024 15:19
Vylpes pushed a commit to Vylpes/card-drop that referenced this pull request Sep 11, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@discordjs/rest](https://discord.js.org) ([source](https://github.com/discordjs/discord.js/tree/HEAD/packages/rest)) | dependencies | minor | [`2.3.0` -> `2.4.0`](https://renovatebot.com/diffs/npm/@discordjs%2frest/2.3.0/2.4.0) |

---

### Release Notes

<details>
<summary>discordjs/discord.js (@&#8203;discordjs/rest)</summary>

### [`v2.4.0`](https://github.com/discordjs/discord.js/blob/HEAD/packages/rest/CHANGELOG.md#discordjsrest240---2024-09-01)

[Compare Source](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected])

#### Bug Fixes

-   Correct base path for GIF stickers ([#&#8203;10330](discordjs/discord.js#10330)) ([599ad3e](discordjs/discord.js@599ad3e))

#### Features

-   **User:** Add `avatarDecorationData` ([#&#8203;9888](discordjs/discord.js#9888)) ([3b5c600](discordjs/discord.js@3b5c600))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.vylpes.xyz/External/card-drop/pulls/357
Reviewed-by: Vylpes <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Vylpes pushed a commit to Vylpes/vylbot-app that referenced this pull request Sep 23, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@discordjs/rest](https://discord.js.org) ([source](https://github.com/discordjs/discord.js/tree/HEAD/packages/rest)) | dependencies | minor | [`2.3.0` -> `2.4.0`](https://renovatebot.com/diffs/npm/@discordjs%2frest/2.3.0/2.4.0) |

---

### Release Notes

<details>
<summary>discordjs/discord.js (@&#8203;discordjs/rest)</summary>

### [`v2.4.0`](https://github.com/discordjs/discord.js/blob/HEAD/packages/rest/CHANGELOG.md#discordjsrest240---2024-09-01)

[Compare Source](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected])

#### Bug Fixes

-   Correct base path for GIF stickers ([#&#8203;10330](discordjs/discord.js#10330)) ([599ad3e](discordjs/discord.js@599ad3e))

#### Features

-   **User:** Add `avatarDecorationData` ([#&#8203;9888](discordjs/discord.js#9888)) ([3b5c600](discordjs/discord.js@3b5c600))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM4LjgwLjAiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: https://git.vylpes.xyz/RabbitLabs/vylbot-app/pulls/473
Reviewed-by: Vylpes <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Wrong base URL for GIF stickers
4 participants