From 462eaf03fb081a32b5a97b7bccdb64f4ff37bf02 Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Fri, 5 Sep 2025 01:20:32 -0500 Subject: [PATCH] clean code --- .../BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs b/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs index 4a3a88c5..29fef88e 100644 --- a/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs +++ b/src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs @@ -7,7 +7,6 @@ public class PlotChartFn : IFunctionCallback private readonly IServiceProvider _services; private readonly ILogger _logger; private readonly ChartHandlerSettings _settings; - private readonly BotSharpOptions _options; public string Name => "util-chart-plot_chart"; public string Indication => "Plotting chart"; @@ -16,13 +15,11 @@ public class PlotChartFn : IFunctionCallback public PlotChartFn( IServiceProvider services, ILogger logger, - ChartHandlerSettings settings, - BotSharpOptions options) + ChartHandlerSettings settings) { _services = services; _logger = logger; _settings = settings; - _options = options; } public async Task Execute(RoleDialogModel message)