From f3aa56a44bd450a97837a26f9dcb7ffcf9e2912d Mon Sep 17 00:00:00 2001 From: mathstrains21 <89940630+mathstrains21@users.noreply.github.com> Date: Thu, 28 Oct 2021 15:27:34 +0100 Subject: Save another API call --- bot/exts/info/patreon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/info/patreon.py b/bot/exts/info/patreon.py index 89a166d40..35903d6d5 100644 --- a/bot/exts/info/patreon.py +++ b/bot/exts/info/patreon.py @@ -24,7 +24,7 @@ class Patreon(commands.Cog): # Ensure the caches are up to date await self.bot.wait_until_guild_available() - guild = await self.bot.fetch_guild(constants.Guild.id) + guild = after.guild patreon_tier_1_role = guild.get_role(constants.Roles.patreon_tier_1) patreon_tier_2_role = guild.get_role(constants.Roles.patreon_tier_2) -- cgit v1.2.3