fix: basemessage#url

This commit is contained in:
MARCROCK22 2025-01-05 12:31:38 -04:00
parent 3af070cbd0
commit cb52d6fe6b

View File

@ -69,7 +69,7 @@ export class BaseMessage extends DiscordBase {
} }
get url() { get url() {
return Formatter.messageLink(this.guildId ?? this.messageReference?.guildId ?? '@me', this.channelId, this.id); return Formatter.messageLink(this.guildId ?? '@me', this.channelId, this.id);
} }
async guild(force = false): Promise<GuildStructure<'api'> | undefined> { async guild(force = false): Promise<GuildStructure<'api'> | undefined> {