Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NeloBlivion authored Jun 18, 2023
1 parent eec8e67 commit 80b1194
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -3838,8 +3838,6 @@ async def onboarding(self):
------
HTTPException
Retrieving the onboarding flow failed somehow.
NotFound
The guild doesn't have onboarding or community feature is disabled.
"""
data = await self._state.http.get_onboarding(self.id)
return Onboarding(data=data, guild=self)
Expand Down
4 changes: 1 addition & 3 deletions discord/onboarding.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class PromptOption:
The roles assigned to the user when they select this option.
emoji: Union[:class:`Emoji`, :class:`PartialEmoji`]
The emoji displayed with the option.
title: :class`str`
title: :class:`str`
The option's title.
description: Optional[:class:`str`]
The option's description.
Expand Down Expand Up @@ -296,8 +296,6 @@ async def edit(
Editing the onboarding flow failed somehow.
Forbidden
You don't have permissions to edit the onboarding flow.
NotFound
This onboarding flow does not exist.
"""

fields: dict[str, Any] = {}
Expand Down
2 changes: 1 addition & 1 deletion docs/api/enums.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2293,7 +2293,7 @@ of :class:`enum.Enum`.

.. attribute:: dropdown

The options will appear in a dropdown (similar to select menus), but without the description displayed.
The options will appear in a dropdown (similar to select menus), but without the description displayed. This is **enforced** if there are more than 12 options in the prompt.

.. class:: OnboardingMode

Expand Down

0 comments on commit 80b1194

Please sign in to comment.