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

Wrong base URL for GIF stickers #10329

Closed
Glazelf opened this issue Jun 6, 2024 · 0 comments · Fixed by #10330
Closed

Wrong base URL for GIF stickers #10329

Glazelf opened this issue Jun 6, 2024 · 0 comments · Fixed by #10330
Assignees

Comments

@Glazelf
Copy link

Glazelf commented Jun 6, 2024

Which package is this bug report for?

discord.js

Issue description

  1. Get object from a sticker uploaded as a gif.
  2. Check {Sticker}.url.
  3. If the sticker was uploaded as a gif, the link will look like this: https://cdn.discordapp.com/stickers/1216467563744198836.gif
    It should, however, look like this: https://media.discordapp.net/stickers/1216467563744198836.gif

Code sample

message.stickers.first().url

Versions

  • discord.js v14.15.3

Issue priority

Low (slightly annoying)

Which partials do you have configured?

Not applicable

Which gateway intents are you subscribing to?

Not applicable

I have tested this issue on a development release

346d1be

Glazelf added a commit to Glazelf/NinigiBot that referenced this issue Jun 6, 2024
Remove obsolete checks
Includes workaround for discordjs/discord.js#10329
@Jiralite Jiralite self-assigned this Jun 6, 2024
@Jiralite Jiralite linked a pull request Jun 6, 2024 that will close this issue
@Jiralite Jiralite changed the title Gif Stickers URLs Wrong base URL for GIF stickers Jun 6, 2024
@kodiakhq kodiakhq bot closed this as completed in #10330 Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants