mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Endpoints.Guild(...).Emoji(...) should not use CDN (#1462)
This commit is contained in:
@@ -148,7 +148,7 @@ const Endpoints = exports.Endpoints = {
|
|||||||
ack: `${base}/ack`,
|
ack: `${base}/ack`,
|
||||||
settings: `${base}/settings`,
|
settings: `${base}/settings`,
|
||||||
auditLogs: `${base}/audit-logs`,
|
auditLogs: `${base}/audit-logs`,
|
||||||
Emoji: emojiID => Endpoints.CDN(root).Emoji(emojiID),
|
Emoji: emojiID => `${base}/emojis/${emojiID}`,
|
||||||
Icon: (root, hash, format, size) => Endpoints.CDN(root).Icon(guildID, hash, format, size),
|
Icon: (root, hash, format, size) => Endpoints.CDN(root).Icon(guildID, hash, format, size),
|
||||||
Splash: (root, hash) => Endpoints.CDN(root).Splash(guildID, hash),
|
Splash: (root, hash) => Endpoints.CDN(root).Splash(guildID, hash),
|
||||||
Role: roleID => `${base}/roles/${roleID}`,
|
Role: roleID => `${base}/roles/${roleID}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user