Skip to content

Commit 3f060c8

Browse files
committed
🔥 Remove TextInputStyle aliases
Signed-off-by: Paillat-dev <[email protected]>
1 parent 19661cf commit 3f060c8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG-V3.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ can read more in the migration guide.
5151
- `InputText` use `TextInput` instead
5252
- `ComponentType.input_text` use `ComponentType.text_input` instead
5353
- `InputTextStyle` use `TextInputStyle` instead
54+
- `TextInputStyle.singleline` use `TextInputStyle.short` instead
55+
- `TextInputStyle.multiline` and `TextInputStyle.long` use `TextInputStyle.paragraph` instead
5456
- `ComponentType.select` use `ComponentType.string_select` instead
5557

5658
#### `discord.ext.pages`

discord/enums.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,10 +744,7 @@ class TextInputStyle(Enum):
744744
"""Input text style"""
745745

746746
short = 1
747-
singleline = 1
748747
paragraph = 2
749-
multiline = 2
750-
long = 2
751748

752749

753750
class ApplicationType(Enum):

0 commit comments

Comments
 (0)