= Updating benchmark formatting
This commit is contained in:
@@ -24,7 +24,7 @@ public class BenchmarkCommandInfo extends BenchmarkCommand
|
||||
return output;
|
||||
}
|
||||
|
||||
public static KittyEmbed FormatInfoEmbed(BenchmarkEntry entry)
|
||||
public static KittyEmbed formatInfoEmbed(BenchmarkEntry entry)
|
||||
{
|
||||
// Populate general embed info
|
||||
KittyEmbed embed = new KittyEmbed();
|
||||
@@ -85,7 +85,7 @@ public class BenchmarkCommandInfo extends BenchmarkCommand
|
||||
|
||||
List<BenchmarkEntry> sortedEntries = manager.evaluateLevenshteinDistance(entries, searchString);
|
||||
BenchmarkEntry entry = sortedEntries.get(0);
|
||||
KittyEmbed embed = FormatInfoEmbed(entry);
|
||||
KittyEmbed embed = formatInfoEmbed(entry);
|
||||
|
||||
if(entries.size() > 1)
|
||||
embed.footerText += " (Chose the " + entry.model + " from " + entries.size() + " potential components. To see others, try the command 'benchmark find " + searchString +"')";
|
||||
|
||||
Reference in New Issue
Block a user