!rank bugfix
This commit is contained in:
parent
d8b34f867b
commit
cb9c7c97dc
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ namespace Geekbot.net.Commands
|
||||||
var messageList = _redis.HashGetAll($"{Context.Guild.Id}:{type}");
|
var messageList = _redis.HashGetAll($"{Context.Guild.Id}:{type}");
|
||||||
var sortedList = messageList.OrderByDescending(e => e.Value).ToList();
|
var sortedList = messageList.OrderByDescending(e => e.Value).ToList();
|
||||||
var guildMessages = (int) sortedList.First().Value;
|
var guildMessages = (int) sortedList.First().Value;
|
||||||
sortedList.RemoveAt(0);
|
if (type == "Messages") sortedList.RemoveAt(0);
|
||||||
|
|
||||||
var highscoreUsers = new Dictionary<RankUserPolyfill, int>();
|
var highscoreUsers = new Dictionary<RankUserPolyfill, int>();
|
||||||
var listLimiter = 1;
|
var listLimiter = 1;
|
||||||
|
|
Loading…
Reference in a new issue