Skip to content

Commit

Permalink
Merge branch 'showTimeoutDetails' into sqaaakoi-stable-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqaaakoi committed Aug 27, 2024
2 parents a07d36c + 7ceaa5a commit 4fee0af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/showTimeoutDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}),
Expand Down

0 comments on commit 4fee0af

Please sign in to comment.