From 2f66dd7be21a4c539509ae6f70b4e32866c9ad7c Mon Sep 17 00:00:00 2001 From: Rexios Date: Sat, 21 Dec 2024 18:25:31 -0500 Subject: [PATCH] Show most downloaded package first in embed --- pub_stats_collector/lib/repo/discord_repo.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pub_stats_collector/lib/repo/discord_repo.dart b/pub_stats_collector/lib/repo/discord_repo.dart index 8d2d92a..d55499a 100644 --- a/pub_stats_collector/lib/repo/discord_repo.dart +++ b/pub_stats_collector/lib/repo/discord_repo.dart @@ -91,6 +91,10 @@ class DiscordRepo { name: 'Package Count', value: stats.packageCount.toString(), ), + EmbedField( + name: 'Most Downloaded Package', + value: stats.mostDownloadedPackage, + ), EmbedField( name: 'Most Liked Package', value: stats.mostLikedPackage, @@ -99,10 +103,6 @@ class DiscordRepo { name: 'Most Depended Package', value: stats.mostDependedPackage, ), - EmbedField( - name: 'Most Downloaded Package', - value: stats.mostDownloadedPackage, - ), EmbedField( name: 'Execution Time', value: '${duration.inSeconds} seconds',