@@ -4,19 +4,27 @@ These changes are part of `pycord-test/pycord`, and are candidates for the next
44release.
55
66### Added
7- - ` Interaction.components ` available only during modal submissions
7+
8+ - ` ModalInteraction ` provided to modal listeners during modal submit interactions
9+ - ` ComponentInteraction ` provided to component listeners during component interactions
10+ - ` discord.components ` module and its items
811
912### Fixed
1013
1114### Changed
1215
1316- Removed the custom ` enums.Enum ` implementation in favor of a stdlib ` enum.Enum ` subclass.
17+ - ` InputText ` use ` TextInput ` instead
18+ - ` ComponentType.input_text ` use ` ComponentType.text_input ` instead
19+ - ` InputTextStyle ` use ` TextInputStyle ` instead
20+ - ` TextInputStyle.singleline ` use ` TextInputStyle.short ` instead
21+ - ` TextInputStyle.multiline ` and ` TextInputStyle.long ` use ` TextInputStyle.paragraph ` instead
22+ - ` ComponentType.select ` use ` ComponentType.string_select ` instead
1423
1524### Deprecated
1625
1726### Removed
1827
19-
2028- ` Interaction.original_message ` use ` Interaction.original_response ` instead
2129- ` Interaction.edit_original_message ` use ` Interaction.edit_original_response ` instead
2230- ` Interaction.delete_original_message ` use ` Interaction.delete_original_response `
@@ -50,13 +58,6 @@ can read more in the migration guide.
5058
5159<!-- TODO: Add link to migration guide -->
5260
53- - ` InputText ` use ` TextInput ` instead
54- - ` ComponentType.input_text ` use ` ComponentType.text_input ` instead
55- - ` InputTextStyle ` use ` TextInputStyle ` instead
56- - ` TextInputStyle.singleline ` use ` TextInputStyle.short ` instead
57- - ` TextInputStyle.multiline ` and ` TextInputStyle.long ` use ` TextInputStyle.paragraph ` instead
58- - ` ComponentType.select ` use ` ComponentType.string_select ` instead
59-
6061#### ` discord.ext.pages `
6162
6263Removed the ` discord.ext.pages ` module. Instead, use the new ` discord.components ` module
0 commit comments