diff --git a/src/structures/Emoji.js b/src/structures/Emoji.js index 02711e1c4..3d226dca1 100644 --- a/src/structures/Emoji.js +++ b/src/structures/Emoji.js @@ -161,7 +161,7 @@ class Emoji { * @returns {Promise} */ fetchAuthor() { - if (this.managed) return Promise.reject(new TypeError('Emoji is managed and has no Author.')); + if (this.managed) return Promise.reject(new Error('Emoji is managed and has no Author.')); return this.client.rest.makeRequest('get', Constants.Endpoints.Guild(this.guild).Emoji(this.id), true) .then(emoji => this.client.dataManager.newUser(emoji.user)); }