switch to cdn endpoints, add guild splash url (#932)

This commit is contained in:
Gus Caplan
2016-12-01 18:33:15 -06:00
committed by Schuyler Cebulskie
parent 6043a1f83a
commit edfb27f428
3 changed files with 16 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class Emoji {
* @readonly
*/
get url() {
return `${Constants.Endpoints.CDN}/emojis/${this.id}.png`;
return Constants.Endpoints.emoji(this.id);
}
/**