From 07017a9699eecc4af7824ace39dd91e8b689f3c6 Mon Sep 17 00:00:00 2001 From: Apokalypt <58733915+Apokalypt@users.noreply.github.com> Date: Wed, 21 Jul 2021 09:39:17 +0200 Subject: [PATCH] fix(Sticker): replace 'this.guildID' (undefined) by 'this.guildId' in fetchUser (#6160) Co-authored-by: Apokalypt --- src/structures/Sticker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Sticker.js b/src/structures/Sticker.js index b72bad897..f72c7fc83 100644 --- a/src/structures/Sticker.js +++ b/src/structures/Sticker.js @@ -156,7 +156,7 @@ class Sticker extends Base { */ async fetchUser() { if (this.partial) await this.fetch(); - if (!this.guildID) throw new Error('NOT_GUILD_STICKER'); + if (!this.guildId) throw new Error('NOT_GUILD_STICKER'); const data = await this.client.api.guilds(this.guildId).stickers(this.id).get(); this._patch(data);