Exemple #1
0
 private static Command FindCommand(string name) => CommandsList.Find((Command c) => c.Name == name || c.Aliases.Contains(name)) ?? throw new CommandNotFoundException($"Command not found.", name);