Browse Source

Update guild.py

pull/10226/head
Soheab_ 5 days ago
parent
commit
eeaabef826
  1. 3
      discord/guild.py

3
discord/guild.py

@ -4908,10 +4908,13 @@ class Guild(Hashable):
----------- -----------
prompts: List[:class:`OnboardingPrompt`] prompts: List[:class:`OnboardingPrompt`]
The prompts that will be shown to new members. The prompts that will be shown to new members.
This overrides the existing prompts and its options.
default_channels: List[:class:`abc.Snowflake`] default_channels: List[:class:`abc.Snowflake`]
The channels that will be used as the default channels for new members. The channels that will be used as the default channels for new members.
This overrides the existing default channels.
enabled: :class:`bool` enabled: :class:`bool`
Whether the onboarding configuration is enabled. Whether the onboarding configuration is enabled.
This overrides the existing enabled state.
mode: :class:`OnboardingMode` mode: :class:`OnboardingMode`
The mode that will be used for the onboarding configuration. The mode that will be used for the onboarding configuration.
reason: :class:`str` reason: :class:`str`

Loading…
Cancel
Save