diff options
| author | 2021-10-28 15:27:34 +0100 | |
|---|---|---|
| committer | 2021-10-28 15:27:34 +0100 | |
| commit | f3aa56a44bd450a97837a26f9dcb7ffcf9e2912d (patch) | |
| tree | 53985afb8b2ba2c24a05b280b77839c3f1d1e8dc | |
| parent | Change command function docstrings (diff) | |
Save another API call
| -rw-r--r-- | bot/exts/info/patreon.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |