diff options
author | randomidiot13 <52841549+randomidiot13@users.noreply.github.com> | 2021-03-21 00:23:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 00:23:12 +0000 |
commit | c427cfe65814070f88a2bb66932f4618ddbb7a1f (patch) | |
tree | 5f3a2d31ce0f5136f85c3885ad6c749ff225f68e /cogs/src.py | |
parent | 335eb48bf41ceb2ea3732aee936fac73d9fe7742 (diff) | |
download | steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.tar steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.tar.gz steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.tar.bz2 steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.tar.lz steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.tar.xz steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.tar.zst steve-bot-c427cfe65814070f88a2bb66932f4618ddbb7a1f.zip |
Get only the queue, not everything
Diffstat (limited to '')
-rwxr-xr-x | cogs/src.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/src.py b/cogs/src.py index 9ddfbfb..83e15a9 100755 --- a/cogs/src.py +++ b/cogs/src.py @@ -397,7 +397,7 @@ async def queueLength(self, ctx, game): hold = [] async with self.bot.session.get( - f"https://www.speedrun.com/api/v1/runs?game={gameID}&max=200", headers=head + f"https://www.speedrun.com/api/v1/runs?game={gameID}&status=new&max=200", headers=head ) as temp: while True: if temp.status != 200: |