Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions interactions/client/models/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ def __attrs_post_init__(self):
class Modal(ComponentMixin):
"""
A class object representing a modal.

The structure for a modal: ::
interactions.Modal(
title="Application Form",
Expand Down Expand Up @@ -266,7 +265,8 @@ class ActionRow(ComponentMixin):
An ActionRow may also support only 1 text input component
only.

The structure for an action row: ::
The structure for an action row:
..code-block:: python
# "..." represents a component object.
# Method 1:
interactions.ActionRow(...)
Expand Down
2 changes: 1 addition & 1 deletion interactions/client/models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def spread_to_rows(
*components: Union[ActionRow, Button, SelectMenu], max_in_row: int = 5
) -> List[ActionRow]:
r"""
A helper function that spreads components into :class:`ActionRow`s.
A helper function that spreads components into :class:`ActionRow` s.

Example:

Expand Down