aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-26 01:27:30 +0100
committerVendicated <vendicated@riseup.net>2023-03-26 01:27:30 +0100
commita00542b61b4f2c582744268610561fdd9b018204 (patch)
treee7c0a8f48e06f867965eefb311f4bfb871f38e15 /src
parent041a13c9d305b95c9a48f02487db6804e2cf2fe2 (diff)
downloadVencord-a00542b61b4f2c582744268610561fdd9b018204.tar.gz
Vencord-a00542b61b4f2c582744268610561fdd9b018204.tar.bz2
Vencord-a00542b61b4f2c582744268610561fdd9b018204.zip
MessageLinkEmbeds: Fix weird commas in title
Diffstat (limited to 'src')
-rw-r--r--src/plugins/messageLinkEmbeds.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/messageLinkEmbeds.tsx b/src/plugins/messageLinkEmbeds.tsx
index 7ca5794..e3a28a7 100644
--- a/src/plugins/messageLinkEmbeds.tsx
+++ b/src/plugins/messageLinkEmbeds.tsx
@@ -264,7 +264,7 @@ function ChannelMessageEmbedAccessory({ message, channel, guildID }: MessageEmbe
color: "var(--background-secondary)",
author: {
name: <Text variant="text-xs/medium" tag="span">
- <span>{isDM ? "Direct Message - " : (guild as Guild).name + " - "}</span>,
+ <span>{isDM ? "Direct Message - " : (guild as Guild).name + " - "}</span>
{isDM
? Parser.parse(`<@${dmReceiver.id}>`)
: Parser.parse(`<#${channel.id}>`)
@@ -302,7 +302,7 @@ function AutomodEmbedAccessory(props: MessageEmbedProps): JSX.Element | null {
{isDM
? parse(`<@${ChannelStore.getChannel(channel.id).recipients[0]}>`)
: parse(`<#${channel.id}>`)
- },
+ }
<span>{isDM ? " - Direct Message" : " - " + GuildStore.getGuild(channel.guild_id)?.name}</span>
</Text>
}