aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/webhook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index e850cb69..d9d380a1 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -429,7 +429,7 @@ class Webhook:
If this is a partial webhook, then this will always return ``None``.
"""
- return self._state and self._state.get_guild(self.guild_id)
+ return self._state and self._state._get_guild(self.guild_id)
@property
def channel(self):