Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Typo Issue #23

Merged
merged 2 commits into from
May 27, 2021
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
2 changes: 1 addition & 1 deletion discord_components/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ButtonStyle:

@classmethod
def randomColor(cls) -> int:
"""Returns a random number between 1, 5
"""Returns a random number between 1, 4

:returns: :class:`int`
"""
Expand Down
2 changes: 1 addition & 1 deletion discord_components/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def options(self, value: List[Option]):
self._options = value

def __repr__(self) -> str:
placeholder_st = f"placholder='{self.placeholder}'" if self.placeholder else ""
placeholder_st = f"placeholder='{self.placeholder}'" if self.placeholder else ""
min_values_st = f"min_values{self.min_values}" if self.min_values else ""
max_values_st = f"max_values{self.max_values}" if self.max_values else ""

Expand Down