feat: add support for gif stickers (2)
This commit is contained in:
parent
683bb28bb2
commit
8f21115035
@ -219,7 +219,9 @@ exports.Endpoints = {
|
|||||||
makeImageUrl(`${root}/discovery-splashes/${guildId}/${hash}`, { size, format }),
|
makeImageUrl(`${root}/discovery-splashes/${guildId}/${hash}`, { size, format }),
|
||||||
TeamIcon: (teamId, hash, options) => makeImageUrl(`${root}/team-icons/${teamId}/${hash}`, options),
|
TeamIcon: (teamId, hash, options) => makeImageUrl(`${root}/team-icons/${teamId}/${hash}`, options),
|
||||||
Sticker: (stickerId, stickerFormat) =>
|
Sticker: (stickerId, stickerFormat) =>
|
||||||
`${root}/stickers/${stickerId}.${stickerFormat === 'LOTTIE' ? 'json' : 'png'}`,
|
`${root}/stickers/${stickerId}.${
|
||||||
|
stickerFormat === 'LOTTIE' ? 'json' : stickerFormat === 'GIF' ? 'gif' : 'png'
|
||||||
|
}`,
|
||||||
RoleIcon: (roleId, hash, format = 'webp', size) =>
|
RoleIcon: (roleId, hash, format = 'webp', size) =>
|
||||||
makeImageUrl(`${root}/role-icons/${roleId}/${hash}`, { size, format }),
|
makeImageUrl(`${root}/role-icons/${roleId}/${hash}`, { size, format }),
|
||||||
guildScheduledEventCover: (scheduledEventId, coverHash, format, size) =>
|
guildScheduledEventCover: (scheduledEventId, coverHash, format, size) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user