fix(GuildStickerManager.fetchUser): Changed guildId to guild.id
v13.9.0 #8176
This commit is contained in:
parent
8c6911143b
commit
0d0ab7767c
@ -170,7 +170,7 @@ class GuildStickerManager extends CachedManager {
|
|||||||
async fetchUser(sticker) {
|
async fetchUser(sticker) {
|
||||||
sticker = this.resolve(sticker);
|
sticker = this.resolve(sticker);
|
||||||
if (!sticker) throw new TypeError('INVALID_TYPE', 'sticker', 'StickerResolvable');
|
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);
|
sticker._patch(data);
|
||||||
return sticker.user;
|
return sticker.user;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user