100 Commits
Author SHA1 Message Date
Rapptz 4fdb309be9 Version bump to v2.2.3 2023-05-01 18:14:40 -04:00
Rapptz 6eefb6aa52 Add changelog for v2.2.3 2023-05-01 18:14:06 -04:00
Rapptz 7ea544fb31 Fix channel edits on webhooks sending two requests 2023-05-01 18:00:19 -04:00
Rapptz 8653bc0ad4 Fix AuditLogEntry.target being None for invites
Fix #9336
2023-05-01 18:00:03 -04:00
Rapptz 4ff66cae73 Fix crash from Discord sending null channel_id for automod audit logs 2023-05-01 17:59:24 -04: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
Rapptz a2b09c0ecd Remove unused import 2023-02-11 18:40:17 -05:00
Rapptz ec71a46907 Fix Message.channel rebinding sometimes being Object 2023-02-11 18:25:42 -05:00
Rapptz 4057afad6a Add support for passing client to Webhook.from_url and Webhook.partial 2023-02-09 23:22:45 -05:00
Rapptz 3af6b308ab Add changelog for v2.1.1 2023-02-09 16:20:10 -05:00
Rapptz 441d38f56b Add fallback for sticker filename lookup 2023-02-09 16:19:01 -05:00
Rapptz 1395d3b495 Fix NameError in audit log target for app commands 2023-02-09 06:14:27 -05:00
Rapptz 183675be74 Add support for silent messages 2023-02-08 15:40:33 -05:00
Rapptz 93ed1646d2 Cleanup some private utilities in app_commands.commands 2023-02-02 00:33:18 -05:00
Rapptz f1bd618b83 Pin black to v22.6 2023-02-01 08:24:52 -05:00
Rapptz 23bcb07d2b [commands] Fix generic arg on Context.interaction 2023-02-01 07:46:31 -05:00
Rapptz 346ade168e Fix default allowed_mentions for partial webhook state 2023-01-31 08:58:56 -05:00
Rapptz 7e95f98521 Fix webhooks and interactions not closing files after a request 2023-01-25 04:22:24 -05:00
Rapptz faee0b4968 [commands] Explicit set traceback for hybrid invoke
Fix #9205
2023-01-25 03:05:24 -05:00
Rapptz 6cb9a84898 Fix views not being removed from message store backing
This uses the original interaction ID if available for cache eviction
2023-01-25 02:37:30 -05:00
Rapptz 02031d08fb Publicly expose ScheduledEvent.creator_id
Fix #9201
2023-01-24 09:39:22 -05:00
Rapptz 3d2dedbc58 Add Message.position and Message.application_id attributes 2023-01-21 22:48:36 -05:00
Rapptz 26beabb740 Document default_auto_archive_duration accepted values 2023-01-21 00:12:21 -05:00
Rapptz bee7f903e3 Document Interaction.message availability 2023-01-21 00:07:50 -05:00
Rapptz aa981ade1d Add missing AuditLogEntry.guild documentation 2023-01-21 00:04:08 -05:00
Rapptz bbba8c650f Add missing generic parameters on various Interaction parameters 2023-01-19 07:00:16 -05:00
Rapptz a8177dd5bd Document starter message requirements in ForumChannel.create_thread 2023-01-18 07:11:49 -05:00
Rapptz 3c91d2163e Fix overload for on_raw_typing in wait_for 2023-01-17 00:48:29 -05:00
Rapptz 980fe7b0f9 Simplify RoleTag implementation for always-null attributes 2023-01-16 22:07:23 -05:00
Rapptz 68c929cddf Use Mapping instead of Dict for AuditLogEntry inner cache data 2023-01-16 22:03:31 -05:00
Rapptz 3ff88db768 Update pyright to 1.1.289 2023-01-16 21:57:54 -05:00
Rapptz bf860b0b07 Add support for generic ClientT in Interaction 2023-01-16 21:57:54 -05:00
Rapptz 469f006d8b Formally document utils.maybe_coroutine 2023-01-16 21:00:58 -05:00
Rapptz ed40d55f99 Fix overloads for select decorator 2023-01-16 20:54:29 -05:00
Rapptz ef7d740524 Add overload for audit_log_entry_create 2023-01-16 20:38:53 -05:00
Rapptz bba2c94990 Update FAQ entry on audit log entry event 2023-01-12 20:42:09 -05:00
Rapptz d11c42c2e6 Update type hints in AuditLogEntry.user and AuditLogEntry.user_id 2023-01-12 18:21:01 -05:00
Rapptz 2869d8000d Add support for on_audit_log_entry_create event 2023-01-12 18:16:36 -05:00
Rapptz 24495e5505 Add support for GIF sticker type 2023-01-10 18:18:43 -05:00
Rapptz 48ef01204c Add support for 'linked role' role tag 2023-01-10 18:13:01 -05:00
Rapptz 8e52db1f1b Add new message types to MessageType enum 2023-01-10 18:10:30 -05:00
Rapptz 3d24f0fb12 Add support for role subscription reading 2023-01-10 18:05:00 -05:00
Rapptz e802a87916 Synchronise Guild.features type hints with newest entries 2023-01-10 17:01:20 -05:00
Rapptz 4d8ded95fb Update description for UserFlags.discord_certified_moderator 2023-01-10 16:51:06 -05:00
Rapptz cbc46e0973 Add support for ForumChannel.default_layout 2023-01-10 16:43:18 -05:00
Rapptz 9930c672bb Add AppInfo.role_connections_verification_url 2023-01-10 16:31:02 -05:00
Rapptz d8da6a8da1 Update AutoModTrigger.regex_pattern documentation 2023-01-10 16:27:06 -05:00
Rapptz d3249445f3 Revert "Allow empty strings to be in Embed.to_dict"
This reverts commit a72fc7416c.

Discord no longer allows this and the original rationale for allowing
this was weak to begin with.
2023-01-10 15:58:37 -05:00
Rapptz d609c78a9e Clarify Template.source_guild documentation 2023-01-07 02:46:21 -05:00
Rapptz 3f81984ebb Document permissions required for automod events 2023-01-07 02:46:21 -05:00
Rapptz d257b0c07b Fix Webhook.send returning ForumChannel for WebhookMessage.channel 2023-01-05 18:27:50 -05:00
Rapptz 1700086f1a Enable colour logging for docker even if tty is not set 2023-01-01 06:13:44 -05:00
Rapptz 7863418ddb Fix AutoModRule.edit to work with actual snowflake types
Fixes #9159
2022-12-30 01:58:33 -05:00
Rapptz 887ddbb4b6 Fix implicit permission resolution for Thread
Fix #9153
2022-12-29 07:17:41 -05:00
Rapptz 50e66d4072 Add delete_after to Interaction.edit_message
Closes #9415
2022-12-29 06:56:15 -05:00
Rapptz bdeccaf106 Add Locale.indonesian 2022-12-14 19:22:49 -05:00
Rapptz da317ad84b [commands] Respect ignore_extra for FlagConverter kw-only parameters 2022-11-29 18:09:53 -05:00
Rapptz a098867a4d Fix certain parameters not being respected in Guild.create_forum 2022-11-27 23:51:52 -05:00
Rapptz 24bdb44d54 Version bump for development 2022-11-12 14:48:26 -05:00
Rapptz 24b61a71c1 Version bump to v2.1.0 2022-11-12 14:47:24 -05:00
Rapptz 6c4b6dc999 Update changelog 2022-11-12 14:45:16 -05:00
Rapptz 55f272f6e7 Document UserFlags.active_developer 2022-11-10 23:47:52 -05:00
Rapptz dad666651f Add ApplicationFlags.active 2022-11-10 23:46:43 -05:00
Rapptz 3d39f70d30 Add active developer flag 2022-11-10 13:58:31 -05:00
Rapptz cd6fd13a8f Add AutoModTrigger.__repr__ 2022-11-06 07:21:41 -05:00
Rapptz 84767ef840 Add AutoModTrigger.regex_patterns support 2022-11-06 07:17:38 -05:00
Rapptz 217662ca44 Fix detection of overridden binding error handler
Closes #8963
2022-09-27 23:50:06 -04:00
Rapptz cd04f6ca41 Revert Group.on_error copy due to failing tests 2022-09-24 01:43:28 -04:00
Rapptz 6e5392c6e2 Fix Tree.on_error still being called when a bound error handler is set
Closes #8455
2022-09-24 01:22:03 -04:00
Rapptz 6bec7e9d97 Fix detection of overriden Group.on_error and ensure they're copied 2022-09-24 01:18:52 -04:00
Rapptz c35ff4cfc6 [commands] Allow Greedy to potentially maintain state between calls 2022-09-20 23:53:48 -04:00
Rapptz 8aaeb6acfa Parse gateway URL as an actual URL using yarl
Discord has changed the URL format to make it infeasible to edit it
using basic string interpolation.
2022-09-17 22:51:23 -04:00
Rapptz a53b609e37 Fix ForumChannel annotation not working for app_commands
Closes #8472
2022-09-17 00:12:06 -04:00
Rapptz 9971c2e09a [commands] Add __repr__ to Range 2022-09-08 02:06:36 -04:00
Rapptz 1c163b66cd Fix stage_instances and guild_schedule_events clearing on GUILD_UPDATE 2022-09-06 17:45:01 -04:00
Rapptz 771476a8d8 Fix _errors key being visible in CommandSyncError in some cases 2022-09-06 02:56:48 -04:00
Rapptz 5cc6af5917 Fix CommandSyncFailure raising for other 400 error types 2022-09-06 02:56:48 -04:00
Rapptz 9ed5fbecea [commands] Add support for NumPy style docstrings for commands 2022-09-04 00:34:17 -04:00
Rapptz 27b19ed582 Change error message for unbound callbacks in ContextMenu 2022-09-04 00:34:17 -04:00
Rapptz fdebe069a6 Change ForumTag.emoji to be optional 2022-09-03 00:23:07 -04:00
Rapptz aa0acf1d56 Add more options to Guild.create_forum 2022-09-01 05:10:41 -04:00
Rapptz 40b91f0e2a Remove TextChannel.default_thread_slowmode_delay
This doesn't have meaning on text channels apparently
2022-09-01 04:52:44 -04:00
Rapptz ab265dcb7c Add support for newest ForumChannel changes
This adds the following:

- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
2022-08-31 11:09:56 -04:00
Rapptz 9ea6ee8887 Add support for ForumChannel annotations in app commands 2022-08-30 05:09:50 -04:00
Rapptz 6ab6b2cb96 [commands] Fix Context.from_interaction ignoring command_failed 2022-08-30 05:08:11 -04:00