@@ -14,6 +14,18 @@ release.
1414
1515### Removed
1616
17+
18+ - ` Interaction.original_message ` use ` Interaction.original_response ` instead
19+ - ` Interaction.edit_original_message ` use ` Interaction.edit_original_response ` instead
20+ - ` Interaction.delete_original_message ` use ` Interaction.delete_original_response `
21+ instead
22+ - ` Interaction.premium_required ` use a ` Button ` with type ` ButtonType.premium ` instead
23+ - ` Interaction.cached_channel ` use ` Interaction.channel ` instead
24+ - ` Message.interaction ` use ` Message.interaction_metadata ` instead
25+ - ` MessageInteraction ` see ` InteractionMetadata ` instead
26+
27+ #### ` discord.utils `
28+
1729- ` utils.filter_params `
1830- ` utils.sleep_until ` use ` asyncio.sleep ` combined with ` datetime.datetime ` instead
1931- ` utils.compute_timedelta ` use the ` datetime ` module instead
@@ -28,15 +40,6 @@ release.
2840- ` utils.as_chunks ` use ` itertools.batched ` on Python 3.12+ or your own implementation
2941 instead
3042
31- - ` Interaction.original_message ` use ` Interaction.original_response ` instead
32- - ` Interaction.edit_original_message ` use ` Interaction.edit_original_response ` instead
33- - ` Interaction.delete_original_message ` use ` Interaction.delete_original_response `
34- instead
35- - ` Interaction.premium_required ` use a ` Button ` with type ` ButtonType.premium ` instead
36- - ` Interaction.cached_channel ` use ` Interaction.channel ` instead
37- - ` Message.interaction ` use ` Message.interaction_metadata ` instead
38- - ` MessageInteraction ` see ` InteractionMetadata ` instead
39-
4043#### ` discord.ui `
4144
4245Removed everything under ` discord.ui ` . Instead, use the new ` discord.components ` module
@@ -55,18 +58,3 @@ can read more in the migration guide.
5558Removed the ` discord.ext.pages ` module. Instead, use the new ` discord.components ` module
5659with your own pagination logic.
5760
58- #### ` discord.utils `
59-
60- - ` utils.filter_params `
61- - ` utils.sleep_until ` use ` asyncio.sleep ` combined with ` datetime.datetime ` instead
62- - ` utils.compute_timedelta ` use the ` datetime ` module instead
63- - ` utils.resolve_invite `
64- - ` utils.resolve_template `
65- - ` utils.parse_time ` use ` datetime.datetime.fromisoformat ` instead
66- - ` utils.time_snowflake ` use ` utils.generate_snowflake ` instead
67- - ` utils.warn_deprecated `
68- - ` utils.deprecated `
69- - ` utils.get ` use ` utils.find ` with ` lambda i: i.attr == val ` instead
70- - ` AsyncIterator.get ` use ` AsyncIterator.find ` with ` lambda i: i.attr == val ` instead
71- - ` utils.as_chunks ` use ` itertools.batched ` on Python 3.12+ or your own implementation
72- instead
0 commit comments