Commit Graph
5402 Commits
Author SHA1 Message Date
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
kairiandDanny 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 LawandJosh 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 SandDanny 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 SandDanny 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