optimize mass_fetch_votestreaks to only fetch votestreaks > 0
@@ -161,7 +161,7 @@ class Database(commands.Cog):
async def mass_fetch_votestreaks(self):
async with self.db.acquire() as con:
- return await con.fetch('SELECT uid, vote_streak FROM users')
+ return await con.fetch('SELECT uid, vote_streak FROM users WHERE vote_streak > 0')
async def set_balance(self, uid, emeralds):
await self.fetch_user(uid)
