Skip to content

Commit

Permalink
Cleanup starboard replies
Browse files Browse the repository at this point in the history
  • Loading branch information
Naamloos committed Dec 15, 2022
1 parent 6b3a6f4 commit bceb079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModCore/Listeners/Reactions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private static DiscordMessageBuilder buildMessage(DiscordMessage message, Discor
{
var refContent = message.ReferencedMessage.Content.Truncate(200, "...").Replace(")[", "​)[") + " ";

embed.Description += $"\n\n**** {message.ReferencedMessage.Author.Mention}: {refContent} {(message.ReferencedMessage.Attachments.Count() > 0 ? "🖼 _<With Attachments>_" : "")}([Jump]({message.ReferencedMessage.JumpLink}))";
embed.Description += $"\n\n**** {message.ReferencedMessage.Author.Mention}: {refContent} {(message.ReferencedMessage.Attachments.Count() > 0 ? $"_<{message.ReferencedMessage.Attachments.Count()} file(s)>_" : "")}";
}

var messageBuilder = new DiscordMessageBuilder()
Expand Down

0 comments on commit bceb079

Please sign in to comment.