aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/events/hacktoberfest/hacktober-issue-finder.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-05-06 13:36:52 +0100
committerGravatar GitHub <[email protected]>2023-05-06 13:36:52 +0100
commite2d0c268732ab6998a90028be9ecd1f8efcce7d8 (patch)
treeea0fc0176f18331756c19d110ee6edf4e5100898 /bot/exts/events/hacktoberfest/hacktober-issue-finder.py
parentBump pre-commit from 3.3.0 to 3.3.1 (#1263) (diff)
parentbump bot-core to 9.6.0 (diff)
Merge pull request #1260 from shtlrs/pedantic-configuration
Use pydantic for configuration management
Diffstat (limited to 'bot/exts/events/hacktoberfest/hacktober-issue-finder.py')
-rw-r--r--bot/exts/events/hacktoberfest/hacktober-issue-finder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/hacktoberfest/hacktober-issue-finder.py b/bot/exts/events/hacktoberfest/hacktober-issue-finder.py
index aeffc8d7..4f7bef5d 100644
--- a/bot/exts/events/hacktoberfest/hacktober-issue-finder.py
+++ b/bot/exts/events/hacktoberfest/hacktober-issue-finder.py
@@ -18,7 +18,7 @@ REQUEST_HEADERS = {
"User-Agent": "Python Discord Hacktoberbot",
"Accept": "application / vnd.github.v3 + json"
}
-if GITHUB_TOKEN := Tokens.github:
+if GITHUB_TOKEN := Tokens.github.get_secret_value():
REQUEST_HEADERS["Authorization"] = f"token {GITHUB_TOKEN}"