@@ -12,6 +12,8 @@ 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.
16
+ ([ #1801 ] ( https://github.com/Pycord-Development/pycord/pull/1801 ) )
15
17
- Added new parameters (` author ` , ` footer ` , ` image ` , ` thumbnail ` ) to ` discord.Embed ` .
16
18
([ #1996 ] ( https://github.com/Pycord-Development/pycord/pull/1996 ) )
17
19
- Added new events ` on_bridge_command ` , ` on_bridge_command_completion ` , and
@@ -27,27 +29,64 @@ These changes are available on the `master` branch, but have not yet been releas
27
29
([ #1983 ] ( https://github.com/Pycord-Development/pycord/pull/1983 ) )
28
30
- Added new ` application_auto_moderation_rule_create_badge ` to ` ApplicationFlags ` .
29
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.
34
+ ([ #1984 ] ( https://github.com/Pycord-Development/pycord/pull/1984 ) )
35
+ - Added ` custom_message ` to AutoModActionMetadata.
36
+ ([ #2029 ] ( https://github.com/Pycord-Development/pycord/pull/2029 ) )
37
+ - Added support for
38
+ [ voice messages] ( https://github.com/discord/discord-api-docs/pull/6082 ) .
39
+ ([ #2016 ] ( https://github.com/Pycord-Development/pycord/pull/2016 ) )
40
+ - Added the ` data ` attribute to all
41
+ [ Raw Event payloads] ( https://docs.pycord.dev/en/master/api/models.html#events ) .
42
+ ([ #2023 ] ( https://github.com/Pycord-Development/pycord/pull/2023 ) )
43
+ - Added and documented missing ` AuditLogAction ` enums.
44
+ ([ #2030 ] ( https://github.com/Pycord-Development/pycord/pull/2030 ) )
45
+ - ` AuditLogDiff ` now supports AutoMod related models.
46
+ ([ #2030 ] ( https://github.com/Pycord-Development/pycord/pull/2030 ) )
47
+ - Added ` Interaction.respond ` and ` Interaction.edit ` as shortcut responses.
48
+ ([ #2026 ] ( https://github.com/Pycord-Development/pycord/pull/2026 ) )
49
+ - Added ` view.parent ` which is set when the view was sent by
50
+ ` interaction.response.send_message ` .
51
+ ([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
52
+ - Added functions (` bridge.Bot.walk_bridge_commands ` &
53
+ ` BridgeCommandGroup.walk_commands ` ) to cycle through all bridge commands and their
54
+ children/subcommands.
55
+ ([ #1867 ] ( https://github.com/Pycord-Development/pycord/pull/1867 ) )
30
56
31
57
### Changed
32
58
59
+ - Suppressed FFMPEG output when recording voice channels.
60
+ ([ #1993 ] ( https://github.com/Pycord-Development/pycord/pull/1993 ) )
33
61
- Changed file-upload size limit from 8 MB to 25 MB accordingly.
34
62
([ #2014 ] ( https://github.com/Pycord-Development/pycord/pull/2014 ) )
63
+ - ` Interaction.channel ` is received from the gateway, so it can now be ` DMChannel ` and
64
+ ` GroupChannel ` . ([ #2025 ] ( https://github.com/Pycord-Development/pycord/pull/2025 ) )
65
+ - ` DMChannel.recipients ` can now be ` None `
66
+ ([ #2025 ] ( https://github.com/Pycord-Development/pycord/pull/2025 ) )
67
+ - Store ` view.message ` on receiving Interaction for a component.
68
+ ([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
69
+ - Attributes shared between ext and slash commands are now dynamically fetched on bridge
70
+ commands. ([ #1867 ] ( https://github.com/Pycord-Development/pycord/pull/1867 ) )
35
71
36
72
### Removed
37
73
38
74
- Removed ` @client.once() ` in favour of ` @client.listen(once=True) ` .
39
75
([ #1957 ] ( https://github.com/Pycord-Development/pycord/pull/1957 ) )
40
-
41
- ### Changed
42
-
43
- - Suppressed FFMPEG output when recording voice channels.
44
- ([ #1993 ] ( https://github.com/Pycord-Development/pycord/pull/1993 ) )
76
+ - Removed ` view.message ` being set when the view was sent by
77
+ ` interaction.response.send_message ` .
78
+ ([ #2036 ] ( https://github.com/Pycord-Development/pycord/pull/2036 ) )
45
79
46
80
### Fixed
47
81
48
82
- Fixed ` AttributeError ` caused by
49
83
[ #1957 ] ( https://github.com/Pycord-Development/pycord/pull/1957 ) when using listeners
50
84
in cogs. ([ #1989 ] ( https://github.com/Pycord-Development/pycord/pull/1989 ) )
85
+ - Editing a webhook message if the thread is a forum post or if the thread is a private
86
+ thread ([ #1981 ] ( https://github.com/Pycord-Development/pycord/pull/1981 ) )
87
+ - Fixed ` View.message ` not being set when view is sent using webhooks, including
88
+ ` Interaction.followup.send ` or when a message is edited.
89
+ ([ #1997 ] ( https://github.com/Pycord-Development/pycord/pull/1997 ) )
51
90
- Fixed ` None ` being handled incorrectly for avatar in ` ClientUser.edit ` .
52
91
([ #1994 ] ( https://github.com/Pycord-Development/pycord/pull/1994 ) )
53
92
- Fixed scheduled events breaking when changing the location from external to a channel.
@@ -56,6 +95,14 @@ These changes are available on the `master` branch, but have not yet been releas
56
95
working. ([ #1999 ] ( https://github.com/Pycord-Development/pycord/pull/1999 ) )
57
96
- Fixed ` TypeError ` being raised when passing ` name ` argument to bridge groups.
58
97
([ #2000 ] ( https://github.com/Pycord-Development/pycord/pull/2000 ) )
98
+ - Fixed ` TypeError ` in AutoModRule.
99
+ ([ #2029 ] ( https://github.com/Pycord-Development/pycord/pull/2029 ) )
100
+ - Reflecting the api for gettings bans correctly.
101
+ ([ #1922 ] ( https://github.com/Pycord-Development/pycord/pull/1922 ) )
102
+ - Restored functionality for overriding default ` on_application_command_error ` via
103
+ listeners. ([ #2044 ] ( https://github.com/Pycord-Development/pycord/pull/2044 ) )
104
+ - Fixed unloading of cogs having bridge commands.
105
+ ([ #2048 ] ( https://github.com/Pycord-Development/pycord/pull/2048 ) )
59
106
60
107
## [ 2.4.1] - 2023-03-20
61
108
0 commit comments