diff --git a/NadekoBot/Classes/DBHandler.cs b/NadekoBot/Classes/DBHandler.cs index e7d3d838..9fb664f9 100644 --- a/NadekoBot/Classes/DBHandler.cs +++ b/NadekoBot/Classes/DBHandler.cs @@ -198,7 +198,7 @@ Limit 20 OFFSET ?", num * 20); { using (var conn = new SQLiteConnection(FilePath)) { - return conn.Table().OrderBy(cs => -cs.Value).Take(n).ToList(); + return conn.Table().OrderByDescending(cs => cs.Value).Take(n).ToList(); } } }