diff options
author | 2018-10-12 15:43:34 -0700 | |
---|---|---|
committer | 2018-10-12 15:43:34 -0700 | |
commit | d6051c5e8ef1a20b0833e67f75c5367df12e5622 (patch) | |
tree | 92ec894452eb4068a0553d531ac1515fb2d41ca8 /bot/cogs/hacktoberstats.py | |
parent | Fixed linting: Multiple imports on single line. (diff) | |
parent | The app was logging to the wrong directory. This is now fixed. Also silenced ... (diff) |
Merge branch 'master' of https://github.com/discord-python/hacktoberbot into vote-monster-refactor
Diffstat (limited to 'bot/cogs/hacktoberstats.py')
-rw-r--r-- | bot/cogs/hacktoberstats.py | 7 |
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"} |