aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/halloween/hacktoberstats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py
index af79ce7e..9d91a310 100644
--- a/bot/exts/halloween/hacktoberstats.py
+++ b/bot/exts/halloween/hacktoberstats.py
@@ -237,7 +237,7 @@ class HacktoberStats(commands.Cog):
base_url = "https://api.github.com/search/issues?q="
not_labels = ("invalid", "spam")
action_type = "pr"
- is_query = f"public+author:{github_username}"
+ is_query = f"public"
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"
@@ -247,6 +247,7 @@ class HacktoberStats(commands.Cog):
f"+-label:{not_labels[1]}"
f"+type:{action_type}"
f"+is:{is_query}"
+ f"+author:{github_username}"
f"+-is:{not_query}"
f"+created:{date_range}"
f"&per_page={per_page}"