From ee7d348ff1736a3b534bdf1b39667e17fc4c68e2 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 24 Apr 2025 10:07:47 +0200 Subject: Command handling fixes --- Utilities/LibMatrix.Utilities.Bot/Commands/HelpCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Utilities/LibMatrix.Utilities.Bot/Commands') diff --git a/Utilities/LibMatrix.Utilities.Bot/Commands/HelpCommand.cs b/Utilities/LibMatrix.Utilities.Bot/Commands/HelpCommand.cs index d55c67c..f29d6e9 100644 --- a/Utilities/LibMatrix.Utilities.Bot/Commands/HelpCommand.cs +++ b/Utilities/LibMatrix.Utilities.Bot/Commands/HelpCommand.cs @@ -6,7 +6,7 @@ namespace LibMatrix.Utilities.Bot.Commands; public class HelpCommand(IServiceProvider services) : ICommand { public string Name { get; } = "help"; - public string[]? Aliases { get; } = new[] { "?" }; + public string[]? Aliases { get; } = ["?"]; public string Description { get; } = "Displays this help message"; public bool Unlisted { get; } -- cgit 1.5.1