fix: id truco (#241)

This commit is contained in:
JustEvil 2024-08-16 15:18:37 -06:00 committed by GitHub
parent be10b9bfe6
commit a4574c51ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export class BaseGuildMember extends DiscordBase {
}
guild(force = false) {
return this.client.guilds.fetch(this.id, force);
return this.client.guilds.fetch(this.guildId, force);
}
fetch(force = false) {

View File

@ -18,7 +18,7 @@ export class Sticker extends DiscordBase {
async guild(force = false) {
if (!this.guildId) return;
return this.client.guilds.fetch(this.id, force);
return this.client.guilds.fetch(this.guildId, force);
}
async edit(body: RESTPatchAPIGuildStickerJSONBody, reason?: string) {