@@ -12,32 +12,32 @@ These changes are available on the `master` branch, but have not yet been releas
12
12
13
13
### Added
14
14
15
- - Added possibility to start bot via async context manager.
15
+ - Added method to start bot via async context manager.
16
16
([ #1801 ] ( https://github.com/Pycord-Development/pycord/pull/1801 ) )
17
- - Added new parameters ( ` author ` , ` footer ` , ` image ` , ` thumbnail ` ) to ` discord.Embed ` .
18
- ([ #1996 ] ( https://github.com/Pycord-Development/pycord/pull/1996 ) )
19
- - Added new events ` on_bridge_command ` , ` on_bridge_command_completion ` , and
17
+ - Added parameters ` author ` , ` footer ` , ` image ` and ` thumbnail ` to ` discord.Embed `
18
+ initializer. ([ #1996 ] ( https://github.com/Pycord-Development/pycord/pull/1996 ) )
19
+ - Added events ` on_bridge_command ` , ` on_bridge_command_completion ` , and
20
20
` on_bridge_command_error ` .
21
21
([ #1916 ] ( https://github.com/Pycord-Development/pycord/pull/1916 ) )
22
22
- Added the ` @client.once() ` decorator, which serves as a one-time event listener.
23
23
([ #1940 ] ( https://github.com/Pycord-Development/pycord/pull/1940 ) )
24
24
- Added support for text-related features in ` StageChannel ` .
25
25
([ #1936 ] ( https://github.com/Pycord-Development/pycord/pull/1936 ) )
26
- - Added support for one-time event listeners in ` @client .listen() ` .
26
+ - Added support for one-time event listeners in ` Client .listen` .
27
27
([ #1957 ] ( https://github.com/Pycord-Development/pycord/pull/1957 ) )
28
28
- Added ` current_page ` argument to ` Paginator.update() ` .
29
29
([ #1983 ] ( https://github.com/Pycord-Development/pycord/pull/1983 ) )
30
- - Added new ` application_auto_moderation_rule_create_badge ` to ` ApplicationFlags ` .
30
+ - Added application flag ` application_auto_moderation_rule_create_badge ` .
31
31
([ #1992 ] ( https://github.com/Pycord-Development/pycord/pull/1992 ) )
32
- - Added ` sync_start ` argument to ` VoiceClient.start_recording() ` . This adds silence to
33
- the start of audio recordings .
32
+ - Added support for recording silence via new ` sync_start ` argument in
33
+ ` VoiceClient.start_recording() ` .
34
34
([ #1984 ] ( https://github.com/Pycord-Development/pycord/pull/1984 ) )
35
35
- Added ` custom_message ` to AutoModActionMetadata.
36
36
([ #2029 ] ( https://github.com/Pycord-Development/pycord/pull/2029 ) )
37
37
- Added support for
38
38
[ voice messages] ( https://github.com/discord/discord-api-docs/pull/6082 ) .
39
39
([ #2016 ] ( https://github.com/Pycord-Development/pycord/pull/2016 ) )
40
- - Added the ` data ` attribute to all
40
+ - Added ` data ` attribute to all
41
41
[ Raw Event payloads] ( https://docs.pycord.dev/en/master/api/models.html#events ) .
42
42
([ #2023 ] ( https://github.com/Pycord-Development/pycord/pull/2023 ) )
43
43
- Added and documented missing ` AuditLogAction ` enums.
@@ -50,21 +50,20 @@ These changes are available on the `master` branch, but have not yet been releas
50
50
- Added ` view.parent ` which is set when the view is sent by
51
51
` interaction.response.send_message ` .
52
52
([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
53
- - Added functions (` bridge.Bot.walk_bridge_commands ` &
54
- ` BridgeCommandGroup.walk_commands ` ) to cycle through all bridge commands and their
55
- children/subcommands.
53
+ - Added methods ` bridge.Bot.walk_bridge_commands ` and
54
+ ` BridgeCommandGroup.walk_commands ` .
56
55
([ #1867 ] ( https://github.com/Pycord-Development/pycord/pull/1867 ) )
57
56
- Added support for usernames and modified multiple methods accordingly.
58
57
([ #2042 ] ( https://github.com/Pycord-Development/pycord/pull/2042 ) )
59
- - Added ` icon ` and ` unicode_emoji ` to ` Guild.create_role ` .
58
+ - Added ` icon ` and ` unicode_emoji ` arguments to ` Guild.create_role ` .
60
59
([ #2086 ] ( https://github.com/Pycord-Development/pycord/pull/2086 ) )
61
- - Added ` cooldown ` and ` max_concurrency ` to ` SlashCommandGroup ` .
60
+ - Added ` cooldown ` and ` max_concurrency ` attributes to ` SlashCommandGroup ` .
62
61
([ #2091 ] ( https://github.com/Pycord-Development/pycord/pull/2091 ) )
63
- - Added new embedded activities, Gartic Phone and Jamspace.
62
+ - Added embedded activities Gartic Phone and Jamspace.
64
63
([ #2102 ] ( https://github.com/Pycord-Development/pycord/pull/2102 ) )
65
- - Added ` bridge.Context ` as a shortcut to ` Union ` of subclasses.
64
+ - Added ` bridge.Context ` type as a ` Union ` of subclasses.
66
65
([ #2106 ] ( https://github.com/Pycord-Development/pycord/pull/2106 ) )
67
- - Added Annotated forms support for type-hinting slash command options.
66
+ - Added support for type-hinting slash command options with ` typing.Annotated ` .
68
67
([ #2124 ] ( https://github.com/Pycord-Development/pycord/pull/2124 ) )
69
68
- Added ` suppress ` and ` allowed_mentions ` parameters to ` Webhook ` and
70
69
` InteractionResponse ` edit methods.
@@ -79,18 +78,26 @@ These changes are available on the `master` branch, but have not yet been releas
79
78
([ #2112 ] ( https://github.com/Pycord-Development/pycord/pull/2112 ) )
80
79
- Added ` ForumChannel.default_reaction_emoji ` attribute.
81
80
([ #2178 ] ( https://github.com/Pycord-Development/pycord/pull/2178 ) )
82
- - Added ` default_reaction_emoji ` parameter to ` Guild.create_forum_channel() ` and
83
- ` ForumChannel.edit() ` methods.
81
+ - Added ` default_reaction_emoji ` parameter to ` Guild.create_forum_channel ` and
82
+ ` ForumChannel.edit ` methods.
84
83
([ #2178 ] ( https://github.com/Pycord-Development/pycord/pull/2178 ) )
85
- - Added ` applied_tags ` parameter to ` Webhook.send() ` method.
84
+ - Added ` applied_tags ` parameter to ` Webhook.send ` method.
86
85
([ #2322 ] ( https://github.com/Pycord-Development/pycord/pull/2322 ) )
86
+ - Added ` User.avatar_decoration ` .
87
+ ([ #2131 ] ( https://github.com/Pycord-Development/pycord/pull/2131 ) )
88
+ - Added support for guild onboarding related features.
89
+ ([ #2127 ] ( https://github.com/Pycord-Development/pycord/pull/2127 ) )
90
+ - Added support for monetization related objects and events.
91
+ ([ #2273 ] ( https://github.com/Pycord-Development/pycord/pull/2273 ) )
92
+ - Added ` AttachmentFlags ` and attachment attributes ` expires_at ` , ` issued_at ` and ` hm ` .
93
+ ([ #2342 ] ( https://github.com/Pycord-Development/pycord/pull/2342 ) )
87
94
88
95
### Changed
89
96
90
- - Changed default for all ` name_localizations ` & ` description_localizations ` attributes
91
- from being ` None ` to being ` MISSING ` .
97
+ - Changed default for all ` name_localizations ` and ` description_localizations `
98
+ attributes from being ` None ` to being ` MISSING ` .
92
99
([ #1866 ] ( https://github.com/Pycord-Development/pycord/pull/1866 ) )
93
- - Changed FFMPEG output suppression when recording voice channels.
100
+ - Changed ` ffmpeg ` output suppression when recording voice channels.
94
101
([ #1993 ] ( https://github.com/Pycord-Development/pycord/pull/1993 ) )
95
102
- Changed file-upload size limit from 8 MB to 25 MB accordingly.
96
103
([ #2014 ] ( https://github.com/Pycord-Development/pycord/pull/2014 ) )
@@ -101,30 +108,29 @@ These changes are available on the `master` branch, but have not yet been releas
101
108
([ #2025 ] ( https://github.com/Pycord-Development/pycord/pull/2025 ) )
102
109
- Changed ` DMChannel.recipients ` to potentially be ` None ` .
103
110
([ #2025 ] ( https://github.com/Pycord-Development/pycord/pull/2025 ) )
104
- - Changed the behavior to store ` view.message ` when receiving an Interaction for a
105
- component. ([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
111
+ - Changed the behavior to store ` view.message ` when receiving a component interaction,
112
+ while also changing ` view.message ` not to be set when sending view through
113
+ ` InteractionResponse.send_message ` .
114
+ ([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
106
115
- Changed the fetching of attributes shared between text-based and Slash Commands in
107
116
Bridge Commands to be dynamic.
108
117
([ #1867 ] ( https://github.com/Pycord-Development/pycord/pull/1867 ) )
109
- - Changed ` discord.Embed ` attributes (such as author, footer, etc.) now return ` None `
110
- when not set, and return their respective classes when set.
118
+ - ` discord.Embed ` attributes (such as author, footer, etc.) now return instances of
119
+ their respective classes when set and ` None ` otherwise .
111
120
([ #2063 ] ( https://github.com/Pycord-Development/pycord/pull/2063 ) )
112
- - Changed ` default_avatar ` behavior depending on the user's username migration status.
121
+ - Changed ` default_avatar ` behavior to depend on the user's username migration status.
113
122
([ #2087 ] ( https://github.com/Pycord-Development/pycord/pull/2087 ) )
114
- - Changed type-hinted ` command_prefix ` and ` help_command ` arguments properly .
123
+ - Changed type hints of ` command_prefix ` and ` help_command ` arguments to be accurate .
115
124
([ #2099 ] ( https://github.com/Pycord-Development/pycord/pull/2099 ) )
116
- - Changed the support from ` orjson ` to ` msgspec ` in the codebase.
125
+ - Replaced ` orjson ` features with ` msgspec ` in the codebase.
117
126
([ #2170 ] ( https://github.com/Pycord-Development/pycord/pull/2170 ) )
118
127
- ` BridgeOption ` must now be used for arguments in bridge commands.
119
128
([ #2252 ] ( https://github.com/Pycord-Development/pycord/pull/2252 ) )
120
129
121
130
### Removed
122
131
123
- - Removed ` @client .once() ` in favour of ` @client .listen(once=True) ` .
132
+ - Removed ` Client .once` in favour of ` once ` argument in ` Client .listen` .
124
133
([ #1957 ] ( https://github.com/Pycord-Development/pycord/pull/1957 ) )
125
- - Removed ` view.message ` being set when the view was sent by
126
- ` interaction.response.send_message ` .
127
- ([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
128
134
- Removed ` Embed.Empty ` in favour of ` None ` , and ` EmbedProxy ` in favour of individual
129
135
classes. ([ #2063 ] ( https://github.com/Pycord-Development/pycord/pull/2063 ) )
130
136
@@ -133,8 +139,8 @@ These changes are available on the `master` branch, but have not yet been releas
133
139
- Fixed ` AttributeError ` caused by
134
140
[ #1957 ] ( https://github.com/Pycord-Development/pycord/pull/1957 ) when using listeners
135
141
in cogs. ([ #1989 ] ( https://github.com/Pycord-Development/pycord/pull/1989 ) )
136
- - Editing a webhook message if the thread is a forum post or if the thread is a private
137
- thread ([ #1981 ] ( https://github.com/Pycord-Development/pycord/pull/1981 ) )
142
+ - Fixed an issue in editing webhook messages in forum posts and private threads.
143
+ ([ #1981 ] ( https://github.com/Pycord-Development/pycord/pull/1981 ) ).
138
144
- Fixed ` View.message ` not being set when view is sent using webhooks, including
139
145
` Interaction.followup.send ` or when a message is edited.
140
146
([ #1997 ] ( https://github.com/Pycord-Development/pycord/pull/1997 ) )
@@ -144,7 +150,7 @@ These changes are available on the `master` branch, but have not yet been releas
144
150
([ #1998 ] ( https://github.com/Pycord-Development/pycord/pull/1998 ) )
145
151
- Fixed boolean converter breaking for Bridge Commands.
146
152
([ #1999 ] ( https://github.com/Pycord-Development/pycord/pull/1999 ) )
147
- - Fixed Bridge Command Options not working.
153
+ - Fixed bridge command options not working.
148
154
([ #1999 ] ( https://github.com/Pycord-Development/pycord/pull/1999 ) )
149
155
- Fixed ` TypeError ` being raised when passing ` name ` argument to bridge groups.
150
156
([ #2000 ] ( https://github.com/Pycord-Development/pycord/pull/2000 ) )
@@ -153,9 +159,9 @@ These changes are available on the `master` branch, but have not yet been releas
153
159
- Fixed the functionality to override the default ` on_application_command_error `
154
160
behavior using listeners.
155
161
([ #2044 ] ( https://github.com/Pycord-Development/pycord/pull/2044 ) )
156
- - Fixed unloading of cogs having Bridge Commands .
162
+ - Fixed unloading of cogs with bridge commands .
157
163
([ #2048 ] ( https://github.com/Pycord-Development/pycord/pull/2048 ) )
158
- - Fixed the Slash Command synchronization method ` individual ` .
164
+ - Fixed the ` individual ` slash command synchronization method.
159
165
([ #1925 ] ( https://github.com/Pycord-Development/pycord/pull/1925 ) )
160
166
- Fixed an issue that occurred when ` webhooks_update ` event payload channel ID was
161
167
` None ` . ([ #2078 ] ( https://github.com/Pycord-Development/pycord/pull/2078 ) )
@@ -173,7 +179,7 @@ These changes are available on the `master` branch, but have not yet been releas
173
179
([ #2145 ] ( https://github.com/Pycord-Development/pycord/pull/2145 ) )
174
180
- Fixed ` Thread.applied_tags ` not being updated.
175
181
([ #2146 ] ( https://github.com/Pycord-Development/pycord/pull/2146 ) )
176
- - Fixed type- hinting of ` author ` property of ` ApplicationContext ` to include
182
+ - Fixed type hinting of ` author ` property of ` ApplicationContext ` to include
177
183
type-hinting of ` User ` or ` Member ` .
178
184
([ #2148 ] ( https://github.com/Pycord-Development/pycord/pull/2148 ) )
179
185
- Fixed missing ` delete_after ` parameter in overload type-hinting for ` Webhook.send() ` .
@@ -182,16 +188,16 @@ These changes are available on the `master` branch, but have not yet been releas
182
188
([ #2162 ] ( https://github.com/Pycord-Development/pycord/pull/2162 ) )
183
189
- Fixed ` _bytes_to_base64_data ` not defined.
184
190
([ #2185 ] ( https://github.com/Pycord-Development/pycord/pull/2185 ) )
185
- - Fixed type-hinting of ` values ` argument of ` basic_autocomplete ` to include
186
- type-hinting of ` Iterable[OptionChoice] ` .
191
+ - Fixed inaccurate ` Union ` type hint of ` values ` argument of ` basic_autocomplete ` to
192
+ include ` Iterable[OptionChoice] ` .
187
193
([ #2164 ] ( https://github.com/Pycord-Development/pycord/pull/2164 ) )
188
194
- Fixed initial message inside of the create thread payload sending legacy beta payload.
189
195
([ #2191 ] ( https://github.com/Pycord-Development/pycord/pull/2191 ) )
190
196
- Fixed a misplaced payload object inside of the thread creation payload.
191
197
([ #2192 ] ( https://github.com/Pycord-Development/pycord/pull/2192 ) )
192
- - Fixed ` DMChannel.recipient ` being ` None ` and consequently ` User.dm_channel ` also being
193
- ` None ` . ([ #2219 ] ( https://github.com/Pycord-Development/pycord/pull/2219 ) )
194
- - Fixed ffmpeg being terminated prematurely when piping audio stream.
198
+ - Fixed ` DMChannel.recipient ` and ` User.dm_channel ` being ` None ` .
199
+ ([ #2219 ] ( https://github.com/Pycord-Development/pycord/pull/2219 ) )
200
+ - Fixed ` ffmpeg ` being terminated prematurely when piping audio stream.
195
201
([ #2240 ] ( https://github.com/Pycord-Development/pycord/pull/2240 ) )
196
202
- Fixed tasks looping infinitely when ` tzinfo ` is neither ` None ` nor UTC.
197
203
([ #2196 ] ( https://github.com/Pycord-Development/pycord/pull/2196 ) )
@@ -217,6 +223,18 @@ These changes are available on the `master` branch, but have not yet been releas
217
223
([ #2299 ] ( https://github.com/Pycord-Development/pycord/issues/2299 ) )
218
224
- Fixed ` AttributeError ` when copying groups on startup.
219
225
([ #2331 ] ( https://github.com/Pycord-Development/pycord/issues/2331 ) )
226
+ - Fixed application command options causing errors if declared through the option
227
+ decorator or kwarg.
228
+ ([ #2332 ] ( https://github.com/Pycord-Development/pycord/issues/2332 ) )
229
+ - Fixed options declared using the parameter default value syntax always being optional.
230
+ ([ #2333 ] ( https://github.com/Pycord-Development/pycord/issues/2333 ) )
231
+ - Fixed ` BridgeContext ` type hints raising an exception for unsupported option type.
232
+ ([ #2337 ] ( https://github.com/Pycord-Development/pycord/pull/2337 ) )
233
+ - Fixed ` TypeError ` due to ` (Sync)WebhookMessage._thread_id ` being set to ` None ` .
234
+ ([ #2343 ] ( https://github.com/Pycord-Development/pycord/pull/2343 ) )
235
+ - Fixed ` AttributeError ` due to ` entitlements ` not being included in
236
+ ` Interaction.__slots__ ` .
237
+ ([ #2345 ] ( https://github.com/Pycord-Development/pycord/pull/2345 ) )
220
238
221
239
## [ 2.4.1] - 2023-03-20
222
240
0 commit comments