mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
switch to cdn endpoints, add guild splash url (#932)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
6043a1f83a
commit
edfb27f428
@@ -87,7 +87,7 @@ class Emoji {
|
||||
* @readonly
|
||||
*/
|
||||
get url() {
|
||||
return `${Constants.Endpoints.CDN}/emojis/${this.id}.png`;
|
||||
return Constants.Endpoints.emoji(this.id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user