aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/halloween/hacktoberstats.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/seasons/halloween/hacktoberstats.py b/bot/seasons/halloween/hacktoberstats.py
index ab8d865c..b7b4122d 100644
--- a/bot/seasons/halloween/hacktoberstats.py
+++ b/bot/seasons/halloween/hacktoberstats.py
@@ -227,6 +227,7 @@ class HacktoberStats(commands.Cog):
not_label = "invalid"
action_type = "pr"
is_query = f"public+author:{github_username}"
+ not_query = "draft"
date_range = f"{CURRENT_YEAR}-10-01T00:00:00%2B14:00..{CURRENT_YEAR}-10-31T23:59:59-11:00"
per_page = "300"
query_url = (
@@ -234,6 +235,7 @@ class HacktoberStats(commands.Cog):
f"-label:{not_label}"
f"+type:{action_type}"
f"+is:{is_query}"
+ f"+-is:{not_query}"
f"+created:{date_range}"
f"&per_page={per_page}"
)