diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index d04e21b57d55..3b0416f9a72c 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -721,6 +721,11 @@ def _get_guild(self, guild_id: Optional[int]) -> Optional[Guild]: return self._parent._get_guild(guild_id) return None + def _get_poll(self, msg_id: Optional[int]) -> Optional[Poll]: + if self._parent is not None: + return self._parent._get_poll(msg_id) + return None + def store_user(self, data: Union[UserPayload, PartialUserPayload], *, cache: bool = True) -> BaseUser: if self._parent is not None: return self._parent.store_user(data, cache=cache)