fix(GuildStickerManager.fetchUser): Changed guildId to guild.id

v13.9.0 #8176
This commit is contained in:
Cinnamon 2022-07-01 10:35:19 +07:00
parent 8c6911143b
commit 0d0ab7767c

View File

@ -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;
}