diff --git a/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs b/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs index 02ea76b6..43c917d2 100644 --- a/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs +++ b/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs @@ -49,7 +49,7 @@ public class PlotChartFn : IFunctionCallback ]); var obj = response.JsonContent(); - message.Content = obj?.GreetingMessage ?? "Here is the chart you ask for:"; + message.Content = obj?.GreetingMessage.IfNullOrEmptyAs("Here is the chart you ask for:"); message.RichContent = new RichContent { Recipient = new Recipient { Id = convService.ConversationId },