4860 Commits

Author SHA1 Message Date
Alex Nørgaard
a7f2c670c9
Fix false positives in animated for PartialEmoji.from_str 2023-06-21 09:30:25 -04:00
Rapptz
49e31e9e23 Use cache data if available for Interaction.channel
The data from Discord does not contain all the attributes that the
cached data has. There may be a slight chance that the interaction data
is more up to date than the cached data or vice versa but more
information tends to trump over this slight chance.
2023-06-17 01:24:10 -04:00
Rapptz
dc4ed438a5 Fix plain username lookup for Guild.get_member_named
Fix #9451
2023-06-12 19:39:46 -04:00
Rapptz
0c6a2fc3d5 Version bump for development 2023-06-12 14:03:02 -04:00
Rapptz
c785e4ba75 Version bump to v2.3 v2.3.0 2023-06-12 13:40:41 -04:00
Rapptz
9f5b6c2bed Add changelog for v2.3 2023-06-12 13:40:12 -04:00
Rapptz
cf681105ce Rename Permissions.manage_guild_expressions to manage_expressions 2023-06-11 13:52:16 -04:00
Rapptz
a8675ccde8 Fix afk_channel docstring error 2023-06-11 12:52:47 -04:00
Rapptz
abfb3a11b0 Refactor Guild.afk_channel to use a property 2023-06-11 12:49:17 -04:00
Rapptz
c5da0fe7c1 Remove and address stale TODO comments 2023-06-11 12:41:04 -04:00
Rapptz
f1bade4bda Hoist webhook detection outside of store_user helper 2023-06-11 12:41:04 -04:00
Soheab_
94bf7d8644
[commands] Add displayed_name to commands.Parameter 2023-06-11 12:38:39 -04:00
Rapptz
d34a88411d Fix spelling of DefaultAvatar colour doc strings 2023-06-07 22:13:58 -04:00
Rapptz
eedd7e3014 Add support for new pink default avatars 2023-06-07 22:12:47 -04:00
Michael H
e6d2d82803
Set socket family of connector to AF_INET
- discord doesn't support ipv6
- prevents issues with hosts with DNS64 enabled
- resolves #9442
2023-06-04 18:11:16 -04:00
Rapptz
914773d0fb Remove trailing whitespace 2023-06-04 07:53:25 -04:00
Rapptz
223e95a252 Catch TypeError for unhashable annotation types 2023-06-04 07:52:09 -04:00
yvqc
6b6cbc44ce
Fix TextInput's is_persistent() flow 2023-06-04 07:50:56 -04:00
Agent-E11
a9bd698683
Add more specific directions (OAuth2 > URL Generator) 2023-05-31 22:01:19 -04:00
kairi
a8882f7cb2
Fix Piped Audio Input Ends Prematurely
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-05-29 04:47:59 -04:00
Senev
70b19c8695
Updated deprecated versioning in .readthedocs.yml 2023-05-28 07:04:38 -04:00
Sebastian Law
2ab6541715
[commands] Document exceptions being ignored in teardown and cog_unload
Co-authored-by: Josh <josh.ja.butt@gmail.com>
2023-05-23 20:31:49 -04:00
owocado
0e727d8e6d
Fix StageChannel.last_message_id always being None 2023-05-23 18:42:12 -04:00
Rapptz
e870bb1335 Add constant for the default file size limit 2023-05-19 21:21:37 -04:00
Rapptz
8d583ea71b Update discriminator again for user_update events 2023-05-19 20:59:19 -04:00
Rapptz
8d17aa23c9 Remove @ prefix from usernames
Discord seemed to have backtracked on this display
2023-05-19 20:59:19 -04:00
Rapptz
48cca30ca1 Revert removal of discriminator lookup 2023-05-19 20:59:19 -04:00
Rapptz
9ebc13e160 Only use @ prefix in __str__ if the user is migrated 2023-05-19 20:59:19 -04:00
Rapptz
b8310268b0 Fix default_avatar detection for migrated users 2023-05-19 20:59:19 -04:00
Rapptz
df01db3490 Initial support for pomelo migration 2023-05-19 20:59:19 -04:00
Andrin S
66689e16e8
Add with_counts param to fetch_guilds 2023-05-19 20:47:16 -04:00
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