4829 Commits

Author SHA1 Message Date
Andrin S
53ce05b0d0
Add Interaction.channel from Discord payload
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-05-19 20:40:52 -04:00
owocado
1deb5bf82d
[commands] Add Context.filesize_limit property 2023-05-19 20:37:03 -04:00
RedGuy12
54c62d7ef8
Fix system message for channel_icon_change 2023-05-19 20:35:56 -04:00
Alex Liu
92d350059b
Fix build issue on Sphinx v6 2023-05-19 20:32:35 -04:00
Andrin S
be71383af9
Add create_expressions permission 2023-05-19 20:31:39 -04:00
Rapptz
3951b61440 Allow Interaction webhook URLs to be used in Webhook.from_url 2023-05-19 09:44:23 -04:00
Murtada Altarouti
9717317c78
Add missing import to modal example 2023-05-13 14:16:52 -04:00
Joab
be861e5eac
Fix indentation in create_text_channel docs 2023-05-13 14:15:45 -04:00
Jakub Kuczys
ca0b444047
Document the change in behaviour of bool(flag_obj) 2023-05-13 14:13:55 -04:00
Rapptz
8d047d9e1d Fix opus.Decoder triggering a segfault 2023-05-11 02:27:01 -04:00
Jakub Kuczys
16f1760dd0
Document user_limit argument in StageChannel.edit() 2023-05-07 09:22:38 -04:00
Josh
23352fba79
Fix exception raised by around strategy when the limit is set to 100/101 2023-05-06 05:20:37 -04:00
Rapptz
252ac38f92 Add fallback ClientUser.mutual_guilds property
Fixes #9387
2023-05-05 10:57:21 -04:00
Lilly Rose Berner
34a434b2af
Fix AutoMod audit log entry error due to empty channel_id 2023-05-02 20:19:21 -04:00
Rapptz
c8e2644497 Fix custom attributes not being copied over for subclassed Group 2023-05-02 20:13:10 -04:00
Rapptz
2880f15287 Add changelog for v2.2.3 2023-05-01 18:41:32 -04:00
Rapptz
da10065c19 Fix channel edits on webhooks sending two requests 2023-04-27 18:05:43 -04:00
Rapptz
c57d488ca6 Fix FileHandler having ANSI escapes when used within PyCharm 2023-04-25 00:19:20 -04:00
Andrin S
c6162cfec5
Update auto_mod_badge documentation 2023-04-21 20:28:07 -04:00
Andrin S
1767be0081
Add support for voice messages
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-04-20 00:08:04 -04:00
Andrin S
bee2db805d
Add and change Guild attributes and Guild.edit params 2023-04-18 08:58:50 -04:00
Andrin S
4615d6848a
Add auto_mod_badge to ApplicationFlags 2023-04-18 08:55:18 -04:00
Andrin S
4e276f59d7
Fix on_socket_raw_send and on_raw_thread_member_remove param types 2023-04-18 08:53:56 -04:00
Andrin S
952558d594
[docs] Add missing attributes to AuditLogDiff 2023-04-18 08:04:47 -04:00
Rapptz
cb6170a724 Fix AuditLogEntry.target being None for invites
Fix #9336
2023-04-18 06:16:42 -04:00
Rapptz
0adef0ec89 Update auto_archive_duration documentation
Fix #9351
2023-04-18 06:03:48 -04:00
Michael H
8991525215
Improve handling of ArrayFlags
Why discord did it this way instead of as an integer bitfield like everything
reasonable is unknowable, but this does less work to get to the same result.

Add comment detailing what many would find unreadbale
2023-04-18 04:03:40 -04:00
Andrin S
50f7b94656
Escape # and - in markdown utilities 2023-04-18 01:01:01 -04:00
Andrin S
9845eb2f9c
Update docs on creating bot user 2023-04-18 00:58:07 -04:00
Vioshim
7f578fde22
Update base file size limit 2023-04-18 00:53:43 -04:00
z03h
2247ffd9b5
Convert Webhook targets in AuditlogEntry 2023-04-18 00:36:53 -04:00
James Hilton-Balfe
fdf03d4bca
[commands] Use get_role where appropriate in role decorators 2023-04-18 00:11:39 -04:00
Vish M
ab287e71b8
Fix 'available' KeyError for GuildSticker
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-04-01 04:57:00 -04:00
Andrin S
ee9e549836
Add use_external_sounds permission 2023-03-31 21:03:47 -04:00
Andrin S
4828355f9e
Change and add params in AppInfo and PartialAppInfo 2023-03-30 08:37:34 -04:00
Andrin S
2ddb9d22ba
Add overloads to reply and send 2023-03-30 08:36:33 -04:00
scruz
53de3f9cbb
Fix return types in sync.py docstring 2023-03-30 08:35:53 -04:00
Andrin S
e3e0d93dd9
Add new use_soundboard and manage_guild_expressions permissions 2023-03-28 21:52:11 -04:00
Rapptz
ebc1bc3cbb Fix crash from Discord sending null channel_id for automod audit logs 2023-03-28 04:10:59 -04:00
Rapptz
bb7668f8a5 Upgrade Message.guild references if None in Interaction 2023-03-24 04:12:47 -04:00
Rapptz
064cbd1125 Clean up Guild.edit documentation 2023-03-17 18:02:02 -04:00
Puncher
2ca1a3a9a4
Add mfa_level parameter to Guild.edit 2023-03-16 07:15:12 -04:00
Puncher
7af70ac988
Add widget_channel and widget_enabled parameters in Guild.edit 2023-03-15 22:53:31 -04:00
Puncher
879c8b9340
Add overloads for AutoModRuleAction.__init__ 2023-03-14 07:34:43 -04:00
Andrew Morgan
8ba830eeb8
Include ssrc parameter when sending a SPEAKING payload
As it is a required parameter.

Don't unnecessarily send a second SPEAKING payload after
connecting to voice

We do need to send a SPEAKING payload in order to set our SSRC value
after connecting to voice, yet that can be with a `state` of 0
(SpeakingState.none).

There is no reason to send 2 packets; one marking ourselves as
speaking, and then not speaking.
2023-03-14 03:18:23 -04:00
Rapptz
08d668f21b Fix improper usages of Optional MISSING in create_forum 2023-03-12 22:22:42 -04:00
Rapptz
c495762aa6 Fix Widget.members type docstring 2023-03-12 22:20:50 -04:00
Puncher
7db197ef25
Add default_reaction_emoji and default_forum_layout to create_forum 2023-03-12 22:17:48 -04:00
rdrescher909
198425707e
Add Guild.get_emoji helper 2023-03-12 22:13:08 -04:00
Puncher
dc9fb1fd84
Add missing param send_start_notification to create_instance 2023-03-06 20:15:22 -05:00