From b805441fc7b00117d73bc410e0caf04268cf60ae Mon Sep 17 00:00:00 2001 From: Josh <8677174+bijij@users.noreply.github.com> Date: Fri, 10 Nov 2023 00:08:13 +1000 Subject: [PATCH] Update guild.py Co-Authored-By: Andrin <65789180+Puncher1@users.noreply.github.com> --- discord/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/guild.py b/discord/guild.py index 395fa59fa..ae34cf9a2 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -4350,7 +4350,7 @@ class Guild(Hashable): :class:`Onboarding` The new onboarding configuration. """ - data = await self._state.http.modify_guild_onboarding( + data = await self._state.http.edit_guild_onboarding( self.id, prompts=[p.to_dict(id=i) for i, p in enumerate(prompts)] if prompts is not MISSING else None, default_channel_ids=[c.id for c in default_channels] if default_channels is not MISSING else None,