aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook
diff options
context:
space:
mode:
Diffstat (limited to 'discord/webhook')
-rw-r--r--discord/webhook/async_.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py
index 807eb1a0..e0601cc4 100644
--- a/discord/webhook/async_.py
+++ b/discord/webhook/async_.py
@@ -487,7 +487,7 @@ class PartialWebhookGuild(Hashable):
return f'<PartialWebhookGuild name={self.name!r} id={self.id}>'
@property
- def icon_url(self) -> Optional[Asset]:
+ def icon(self) -> Optional[Asset]:
"""Optional[:class:`Asset`]: Returns the guild's icon asset, if available."""
if self._icon is None:
return None