Skip to content

Commit

Permalink
fix(Sticker): replace 'this.guildID' (undefined) by 'this.guildId' in…
Browse files Browse the repository at this point in the history
… fetchUser (#6160)

Co-authored-by: Apokalypt <enterprise@apokalypt.fr>
  • Loading branch information
Apokalypt and Apokalypt committed Jul 21, 2021
1 parent 8586505 commit 07017a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Sticker.js
Expand Up @@ -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);
Expand Down

0 comments on commit 07017a9

Please sign in to comment.