Browse Source

Update guild.py

Co-Authored-By: Andrin <65789180+Puncher1@users.noreply.github.com>
pull/9260/head
Josh 2 years ago
parent
commit
b805441fc7
  1. 2
      discord/guild.py

2
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,

Loading…
Cancel
Save