aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktoberstats.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-10-11 19:54:24 +0100
committerGravatar Gareth Coles <[email protected]>2018-10-11 19:54:24 +0100
commit34e866bc1e11570a191fe3efddb6047f3470b4ba (patch)
treec589989d827d61efac41051f8e71d4da98da35a1 /bot/cogs/hacktoberstats.py
parentRun bash script with bash (diff)
parentMerge pull request #40 from hundredrab/spooky-reacts (diff)
Merge remote-tracking branch 'origin/master' into deploy
# Conflicts: # bot/__init__.py # bot/__main__.py # bot/cogs/hacktoberstats.py # bot/cogs/movie.py
Diffstat (limited to 'bot/cogs/hacktoberstats.py')
-rw-r--r--bot/cogs/hacktoberstats.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bot/cogs/hacktoberstats.py b/bot/cogs/hacktoberstats.py
index 0a280443..ac81b887 100644
--- a/bot/cogs/hacktoberstats.py
+++ b/bot/cogs/hacktoberstats.py
@@ -96,7 +96,12 @@ class Stats:
date_range = "2018-10-01..2018-10-31"
per_page = "300"
query_url = (
- f"{base_url}-label:{not_label}+type:{action_type}+is:{is_query}+created:{date_range}&per_page={per_page}"
+ f"{base_url}"
+ f"-label:{not_label}"
+ f"+type:{action_type}"
+ f"+is:{is_query}"
+ f"+created:{date_range}"
+ f"&per_page={per_page}"
)
headers = {"user-agent": "Discord Python Hactoberbot"}