From 86db405b1aad0a1e1924092ebd70a7f7413f41cc Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Wed, 20 Apr 2022 00:39:42 -0600 Subject: [PATCH] Do subreddit.load to load extra information --- jarvis/cogs/reddit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jarvis/cogs/reddit.py b/jarvis/cogs/reddit.py index debd164..4341abd 100644 --- a/jarvis/cogs/reddit.py +++ b/jarvis/cogs/reddit.py @@ -63,6 +63,7 @@ class RedditCog(Scale): try: subreddit = await self.api.subreddit(name) + await subreddit.load() except (NotFound, Forbidden) as e: self.logger.debug(f"Subreddit {name} raised {e.__class__.__name__} on add") await ctx.send("Subreddit may be private, quarantined, or nonexistent.", ephemeral=True)