Reword comments

This commit is contained in:
Infi
2024-05-20 20:18:56 +02:00
parent 47a4c5ab8d
commit 759aca4ce0
+2 -2
View File
@@ -217,11 +217,11 @@ internal partial class Message
if (checkForEmotes && EmoteCache.Exists(word) && !Plugin.Config.BlockedEmotes.Contains(word)) if (checkForEmotes && EmoteCache.Exists(word) && !Plugin.Config.BlockedEmotes.Contains(word))
{ {
// Add the previous punctuation, including whitespaces // Add the previous sentence before the emote
AddContentAfterURLCheck(sentenceBuilder.ToString(), text, chunk); AddContentAfterURLCheck(sentenceBuilder.ToString(), text, chunk);
AddChunkWithMessage(new TextChunk(chunk.Source, EmotePayload.ResolveEmote(word), word) { FallbackColour = text.FallbackColour }); AddChunkWithMessage(new TextChunk(chunk.Source, EmotePayload.ResolveEmote(word), word) { FallbackColour = text.FallbackColour });
// Append our current match as it is a special split symbol // Append the current punctuation symbol
sentenceBuilder.Clear(); sentenceBuilder.Clear();
sentenceBuilder.Append(token.Value); sentenceBuilder.Append(token.Value);
continue; continue;