Skip to content

Commit

Permalink
fix(GuildStickerManager.fetchUser): Changed guildId to guild.id (#8176)
Browse files Browse the repository at this point in the history
fix(GuildStickerManager.fetchUser): guildId to guild.id
  • Loading branch information
KinectTheUnknown committed Jun 29, 2022
1 parent e8d72c7 commit 0e0f784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/GuildStickerManager.js
Expand Up @@ -170,7 +170,7 @@ class GuildStickerManager extends CachedManager {
async fetchUser(sticker) {
sticker = this.resolve(sticker);
if (!sticker) throw new TypeError('INVALID_TYPE', 'sticker', 'StickerResolvable');
const data = await this.client.api.guilds(this.guildId).stickers(sticker.id).get();
const data = await this.client.api.guilds(this.guild.id).stickers(sticker.id).get();
sticker._patch(data);
return sticker.user;
}
Expand Down

0 comments on commit 0e0f784

Please sign in to comment.