Skip to content

Commit 7c39e45

Browse files
authored
Merge pull request #10 from pk9r/dev
Update CardSlashCommand to include emojis for top character use counts
2 parents bd57fbd + 3530af5 commit 7c39e45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/GitcgNetCord.MainApp/Commands/Slash/CardSlashCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ await context.Interaction.ModifyResponseAsync(message =>
176176
var topUseCountsStringBuilder = new StringBuilder();
177177
for (var i = 0; i < topCharacterUseCounts.Length; i++)
178178
{
179-
var card = topCharacterUseCounts[i];
179+
var x = topCharacterUseCounts[i];
180180

181181
topUseCountsStringBuilder.AppendLine(
182-
$"{i + 1}. {card.Name} - {card.UseCount}"
182+
$"{i + 1}. {emojis[x.Id.ToString()]} {x.Name} - {x.UseCount}"
183183
);
184184
}
185185

0 commit comments

Comments
 (0)