From a5d9f4cf4700f4cfcb431d52505615607b884623 Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Mon, 12 Jun 2023 11:20:28 +0100 Subject: Disable the r/python auto poster (#1296) Otherwise this will error every morning while r/python isn't accessible --- bot/exts/utilities/reddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/utilities/reddit.py') diff --git a/bot/exts/utilities/reddit.py b/bot/exts/utilities/reddit.py index f8e358de..cfc70d85 100644 --- a/bot/exts/utilities/reddit.py +++ b/bot/exts/utilities/reddit.py @@ -37,7 +37,7 @@ class Reddit(Cog): self.access_token = None self.client_auth = BasicAuth(RedditConfig.client_id.get_secret_value(), RedditConfig.secret.get_secret_value()) - self.auto_poster_loop.start() + # self.auto_poster_loop.start() async def cog_unload(self) -> None: """Stop the loop task and revoke the access token when the cog is unloaded.""" -- cgit v1.2.3