Commit Graph
100 Commits
Author SHA1 Message Date
Rapptz 2b51e5e736 [commands] Change import for PrivateChannel for cooldowns 2023-12-10 04:34:08 -05:00
Rapptz 163a86c4a0 Raise WebSocketClosure on protocol level errors
Ref: #9561
2023-10-19 01:16:48 -04:00
Rapptz 5c5ccc4e82 [commands] Fix hybrid command wrapped instances being out of sync 2023-09-30 14:28:18 -04:00
Rapptz f617d01eee Refactor human_join into its own private helper function 2023-09-30 13:11:29 -04:00
Rapptz c115cfb0ac Remove unnecessary comments 2023-09-29 19:05:52 -04:00
Rapptz 7f7a0acd21 Fix GuildChannel subclasses not working with default select values
This also fixes it so ClientUser is respected as well
2023-09-29 19:04:15 -04:00
Rapptz 576ab269e8 Fix AttributeError in CommandSyncFailure due to APPLICATION_COMMAND_TOO_LARGE 2023-09-27 04:51:46 -04:00
Rapptz 3f92f35bb1 [commands] Log exceptions that happen during cog_unload 2023-09-20 17:20:50 -04:00
Rapptz 97ae6409b0 Add support for burst reactions 2023-09-19 00:06:10 -04:00
Rapptz 9e2f2cb3af Log suppressed autocomplete exceptions 2023-09-16 22:34:51 -04:00
Rapptz 3530a0f2a8 Fix advanced startup example 2023-09-16 20:32:09 -04:00
Rapptz 69dd6052e4 Standardize Permission constants as padded binary u64
Should make it easier to know how and where to modify the bits
2023-09-05 03:54:21 -04:00
Rapptz b6794fa6d1 Slightly improve performance of constructing Permissions using kwargs 2023-09-05 03:07:25 -04:00
Rapptz f3b26e795f Fix typo in default_reaction_emoji type 2023-09-05 02:44:17 -04:00
Rapptz 94655cd804 Skip adding views to the synced message store if fully dynamic 2023-09-03 02:52:05 -04:00
Rapptz f793af0456 Add item parameter to DynamicItem.from_custom_id 2023-09-03 02:52:05 -04:00
Rapptz 7c3868ef3b Add Client.remove_dynamic_items 2023-09-03 02:52:05 -04:00
Rapptz 418230641c Add dynamic counter example 2023-09-03 02:52:05 -04:00
Rapptz a852f90358 Add support for dynamic items that parse custom_id for state 2023-09-03 02:52:05 -04:00
Rapptz e414d0fe04 [commands] Change default Bot.owner_ids to consider team roles 2023-08-30 20:49:06 -04:00
Rapptz f74eb14d72 Remove owner from TeamMemberRole 2023-08-25 15:43:04 -04:00
Rapptz 60ff239558 Add support for integration_type in audit logs
Currently unsure whether more processing is meant to be done with this,
but for now an Optional[str] is the best I can do without more data.
2023-08-25 11:57:18 -04:00
Rapptz a756df3d5c Add support for team membership role 2023-08-25 11:49:03 -04:00
Rapptz 42a1a68662 [commands] Fix obscuring name error 2023-08-25 11:36:25 -04:00
Rapptz 69e9bc9454 [commands] Fix nested hybrid groups inserting manual app commands 2023-08-24 14:34:01 -04:00
Rapptz 2348d72a72 Use the interaction user's guild as a fallback for Interaction.guild
This ensures that the unavailable guild that is created within __init__
is used instead of constantly recreating it.
2023-08-11 16:22:26 -04:00
Rapptz 44f90909cb Add changelog for v2.3.2 2023-08-10 17:48:18 -04:00
Rapptz 1d2177c610 Fix setting CustomActivity name 2023-08-10 16:23:34 -04:00
Rapptz 0ab68440ee Add tzdata as a test dependency on Windows
Fix #9519
2023-08-04 17:59:17 -04:00
Rapptz e5da7f23cb Fix escape behaviour for lists and headers in escape_markdown
Fixes #9516
2023-08-01 21:25:47 -04:00
Rapptz e6a0dc5bc0 Add support for media channels 2023-08-01 18:18:33 -04:00
Rapptz ca5cbcbdf3 Reconnect a shard if disconnected during a HELLO OP 2023-08-01 18:16:11 -04:00
Rapptz a361a08482 [commands] Add fallback behaviour for CurrentGuild parameter 2023-08-01 18:15:36 -04:00
Rapptz b7785d29cb Add CategoryChannel.forums shortcut property 2023-07-15 19:53:43 -04:00
Rapptz 00ea67d315 Add two new audit log event types 2023-07-13 22:32:00 -04:00
Rapptz b1ff8038c8 Add RawReactionActionEvent.message_author_id field 2023-07-13 22:08:41 -04:00
Rapptz 270fa5f2e0 [commands] Fix displayed_default for callables and None values 2023-07-07 00:09:10 -04:00
Rapptz 732f89b9e1 [commands] Fix =None being displayed in signatures for commands 2023-07-06 23:52:17 -04:00
Rapptz 5eeeef02e4 Remove cached emoji and sticker data if intent is disabled 2023-07-06 20:10:55 -04:00
Rapptz 55f907a793 Document root_logger=True for the main logging page 2023-07-06 16:54:06 -04:00
Rapptz 0871b34fc8 [commands] Revert on_error when cog is ejected for HelpCommand 2023-06-28 08:20:54 -04:00
Rapptz 646ab85bb6 [tasks] Fix missing name parameter in loop copy 2023-06-26 05:51:04 -04:00
Rapptz 03140c0163 [tasks] Add name parameter to give the internal task a name 2023-06-26 04:31:36 -04:00
Rapptz c6bdb0b0dd Version bump for development 2023-06-26 04:14:15 -04:00
Rapptz 2a9640b516 Version bump to v2.3.1 2023-06-26 04:13:50 -04:00
Rapptz d48116af3b Add changelog for v2.3.1 2023-06-26 04:13:18 -04:00
Rapptz 5e86be3b72 [commands] Change lookup order to place nicknames last 2023-06-26 03:58:34 -04:00
Rapptz 2fdbe59376 Fix Message.channel being None for interactions 2023-06-23 00:19:57 -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 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
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
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
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
Rapptz 3951b61440 Allow Interaction webhook URLs to be used in Webhook.from_url 2023-05-19 09:44:23 -04:00
Rapptz 8d047d9e1d Fix opus.Decoder triggering a segfault 2023-05-11 02:27:01 -04:00
Rapptz 252ac38f92 Add fallback ClientUser.mutual_guilds property
Fixes #9387
2023-05-05 10:57: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
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
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
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
Rapptz 78099992dd Version bump for development 2023-03-01 22:49:32 -05:00
Rapptz 78175ded1b Version bump to v2.2.2 2023-03-01 22:48:19 -05:00
Rapptz 82bfb3cf34 Version bump for development 2023-03-01 19:44:50 -05:00
Rapptz bbf2cce488 Version bump to v2.2.1 2023-03-01 19:44:50 -05:00
Rapptz 4661fff2a0 Add changelog for v2.2.1 2023-03-01 19:44:50 -05:00
Rapptz 7a0744c9a9 Version bump for development 2023-02-28 09:10:46 -05:00
Rapptz 7f1b39b5b3 Version bump to v2.2.0 2023-02-28 09:10:18 -05:00
Rapptz f849a54914 Add changelog for v2.2 2023-02-28 09:02:42 -05:00
Rapptz 2d6c50dbe1 Add note about colour changing 2023-02-28 09:02:42 -05:00
Rapptz bd6bbdab00 Add support for stage message types 2023-02-27 09:17:40 -05:00
Rapptz 517d7ae4fe Avoid converting target_id if it's None 2023-02-25 06:05:16 -05:00
Rapptz fd9f3e9eff Update docs with references to text in stage 2023-02-25 03:27:04 -05:00
Rapptz da4651c97c Implement Messageable for StageChannel
Fix #9248
2023-02-25 03:13:55 -05:00
Rapptz 4e09c34bbb Suppress exceptions from invoking autocomplete 2023-02-17 13:24:59 -05:00
Rapptz 0c68eb338c Add colour previews to the documentation 2023-02-16 10:45:53 -05:00
Rapptz 94fa00fbfd Clarify documentation on Message.publish 2023-02-13 23:54:02 -05:00
Rapptz 40227f75de Fix select decorator type checking error 2023-02-13 23:53:56 -05:00