first: put the order back in

This commit is contained in:
Chris Sexton 2019-10-26 11:44:01 -04:00 committed by Chris Sexton
parent 44b0a4f9f3
commit 134d5ea47b
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ func (p *FirstPlugin) leaderboard(c bot.Connector, ch string) error {
from first from first
group by channel, nick group by channel, nick
having channel = ? having channel = ?
order by count desc
limit 3` limit 3`
res := []struct { res := []struct {
Channel string Channel string