mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Fixed field not preserving inline after string replacements. closes #308
This commit is contained in:
@@ -69,7 +69,8 @@ namespace NadekoBot.Common.Replacements
|
|||||||
var newF = new SmartTextEmbedField();
|
var newF = new SmartTextEmbedField();
|
||||||
newF.Name = Replace(f.Name);
|
newF.Name = Replace(f.Name);
|
||||||
newF.Value = Replace(f.Value);
|
newF.Value = Replace(f.Value);
|
||||||
fields.Add(newF);
|
newF.Inline = f.Inline;
|
||||||
|
fields.Add(newF);g
|
||||||
}
|
}
|
||||||
|
|
||||||
newEmbedData.Fields = fields.ToArray();
|
newEmbedData.Fields = fields.ToArray();
|
||||||
|
Reference in New Issue
Block a user