diff --git a/src/plugins/showTimeoutDetails/index.tsx b/src/plugins/showTimeoutDetails/index.tsx index 35948960cf..86e148a32d 100644 --- a/src/plugins/showTimeoutDetails/index.tsx +++ b/src/plugins/showTimeoutDetails/index.tsx @@ -78,14 +78,14 @@ function Reason({ isTooltip, reason, message }: { isTooltip?: boolean, reason: T channelId: message.channel_id, messageId: message.id }), - reason.automod && Parser.parse(`**${i18n.Messages.GUILD_SETTINGS_AUTOMOD_TITLE}**` + (() => { + reason.automod && Parser.parse(`**${i18n.Messages.GUILD_SETTINGS_AUTOMOD_TITLE}${(() => { const automodDetails = [ reason.automodRuleName, reason.automodChannelId && `<#${reason.automodChannelId}>`, ].filter(Boolean); if (automodDetails.length) return ": " + automodDetails.join(" "); return ""; - })(), true, { + })()}**`, true, { channelId: message.channel_id, messageId: message.id }),