mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
dev: Renamed some classes, making the new string model work
This commit is contained in:
@@ -179,9 +179,15 @@ public sealed partial class ResponseBuilder
|
||||
if (text is SmartPlainText spt)
|
||||
plainText = spt.Text;
|
||||
else if (text is SmartEmbedText set)
|
||||
{
|
||||
plainText = set.PlainText ?? plainText;
|
||||
embedBuilder = set.GetEmbed();
|
||||
}
|
||||
else if (text is SmartEmbedTextArray ser)
|
||||
{
|
||||
plainText = ser.Content ?? plainText;
|
||||
embeds = ser.GetEmbedBuilders();
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user