diff --git a/discord/guild.py b/discord/guild.py index 85581e558e..d6feeb6cdc 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -3650,7 +3650,7 @@ async def create_scheduled_event( location: str | int | VoiceChannel | StageChannel | ScheduledEventLocation, privacy_level: ScheduledEventPrivacyLevel = ScheduledEventPrivacyLevel.guild_only, reason: str | None = None, - cover: bytes = MISSING, + image: bytes = MISSING, ) -> ScheduledEvent | None: """|coro| Creates a scheduled event. @@ -3673,7 +3673,7 @@ async def create_scheduled_event( so there is no need to change this parameter. reason: Optional[:class:`str`] The reason to show in the audit log. - cover: Optional[:class:`bytes`] + image: Optional[:class:`bytes`] The cover image of the scheduled event Returns @@ -3712,8 +3712,8 @@ async def create_scheduled_event( if end_time is not MISSING: payload["scheduled_end_time"] = end_time.isoformat() - if cover is not MISSING: - payload["image"] = utils._bytes_to_base64_data(cover) + if image is not MISSING: + payload["image"] = utils._bytes_to_base64_data(image) data = await self._state.http.create_scheduled_event( guild_id=self.id, reason=reason, **payload