Fixed field not preserving inline after string replacements. closes #308

This commit is contained in:
Kwoth
2021-10-09 19:48:54 +02:00
parent db7cf3d757
commit 4532f992cd

View File

@@ -69,7 +69,8 @@ namespace NadekoBot.Common.Replacements
var newF = new SmartTextEmbedField();
newF.Name = Replace(f.Name);
newF.Value = Replace(f.Value);
fields.Add(newF);
newF.Inline = f.Inline;
fields.Add(newF);g
}
newEmbedData.Fields = fields.ToArray();