public static Dictionary <string, CommandInfo> GetAvailableCommands(this Dictionary <string, CommandInfo> map, ISender sender) { return(map .Where(x => CommandParser.CheckAccessLevel(x.Value, sender) && !x.Key.StartsWith(".")) .ToDictionary(x => x.Key, y => y.Value)); }