Commit Graph
100 Commits
Author SHA1 Message Date
Rapptz 460d188359 Version bump for development 2025-03-04 20:16:50 -05:00
Rapptz d2a6ccf715 Version bump to v2.5.2 2025-03-04 20:13:27 -05:00
Rapptz f4bce1caf0 Add changelog for v2.5.2 2025-03-04 20:12:54 -05:00
Rapptz 973bb5089f Version bump for development 2025-03-04 02:15:32 -05:00
Rapptz 73f261d536 Version bump to v2.5.1 2025-03-04 02:14:02 -05:00
Rapptz 6b0a6eea66 Add v2.5.1 changelog 2025-03-04 02:13:31 -05:00
Rapptz fbe2b358fc Add note about NotFound for Messageable.send
Fix #10116
2025-02-28 18:03:47 -05:00
Rapptz 2cf1babb4a Version bump for development 2025-02-18 08:06:01 -05:00
Rapptz e837ac1cac Version bump to v2.5.0 2025-02-18 08:05:13 -05:00
Rapptz a1aa59706c Add changelog for v2.5 2025-02-18 07:56:53 -05:00
Rapptz 3ad0662f68 Document SoundboardSoundConverter 2025-02-18 07:28:25 -05:00
Rapptz e8d571b194 Add missing Poll attribute documentation 2025-02-18 07:28:12 -05:00
Rapptz 43e1c55d11 Remove with_response parameter documentation 2025-02-18 04:24:01 -05:00
Rapptz 8953938a53 Update Pyright to v1.1.394 2025-02-18 03:29:09 -05:00
Rapptz 1cdf710908 Rename InteractionCallback to InteractionCallbackResponse 2025-02-18 03:29:09 -05:00
Rapptz 776fc2251d [commands] Use interaction response within Context.send 2025-02-18 02:21:45 -05:00
Rapptz 1646471ab8 Revert "Bump Sphinx to 5.3.0"
This reverts commit bb5a4703a7.
2025-01-15 18:33:12 -05:00
Rapptz e1b6310ef3 Remove / from being safe from URI encoding when constructing paths 2024-11-23 22:04:57 -05:00
Rapptz 5c4c281f05 Sanitize invite argument before calling the invite info endpoint
Fixes a potential path traversal bug that can lead you to superfluously
and erroneously call a separate endpoint.
2024-11-23 21:48:45 -05:00
Rapptz ed615887f0 Handle improper 1000 closures by Discord 2024-10-28 18:11:33 -04:00
Rapptz a0b0a97e52 Support enforce_nonce and add random nonce for message creation 2024-10-27 14:49:41 -04:00
Rapptz e94fb45527 Add note about using venvs on Linux 2024-10-22 19:27:02 -04:00
Rapptz ca85782b35 [commands] Fix Context.defer unconditionally deferring 2024-10-13 14:26:40 -04:00
Rapptz 5734996aaf Fix soundboard sounds event data type
Closes #9969
2024-10-12 18:51:21 -04:00
Rapptz df4b1c88df Move MissingApplicationID to top-level discord namespace 2024-08-31 08:51:56 -04:00
Rapptz 66d74054dd Remove outdated leftover comment about polls 2024-08-31 08:32:52 -04:00
Rapptz 733c583b72 Remove _get_poll lookup in Message constructor
This was triggering a terrible performance regression for no good
reason for all created messages that didn't have a poll, which is
essentially 99.99% of messages leading to MESSAGE_CREATE dispatches
having degraded performance.
2024-08-31 08:29:05 -04:00
Rapptz dee5bf65c6 Update MemberFlags to have newest values 2024-08-29 16:15:14 -04:00
Rapptz a08f7a14ff Add a warning if interaction endpoint URL is set on login 2024-08-29 03:04:14 -04:00
Rapptz 624b5b7643 Use fallback audioop package for Python v3.13 or higher
Fix #9477
2024-08-28 16:17:08 -04:00
Rapptz 3018fee443 Remove stale documentation in Embed.set_thumbnail 2024-08-28 15:51:17 -04:00
Rapptz c41cadfa91 Fix introduced potential TypeError with _get_command_error 2024-08-28 15:22:41 -04:00
Rapptz 04b2e494f7 Fix documentation for abc.GuildChannel.move to be more clear 2024-07-21 18:44:07 -04:00
Rapptz 86dd29a8e8 Properly copy banner information on updates 2024-07-16 03:03:50 -04:00
Rapptz a13fc8f835 Add support for guild_banner and display_banner 2024-07-15 20:24:35 -04:00
Rapptz 6643784d33 [commands] Clarify Converter.convert exception raising 2024-07-05 15:11:35 -04:00
Rapptz 3a80636029 Version bump for development 2024-06-21 21:17:36 -04:00
Rapptz 978a96b25c Version bump to v2.4.0 2024-06-21 21:08:59 -04:00
Rapptz d528e8f8b5 Add information on Message.poll for Message Content Intent 2024-06-21 08:14:03 -04:00
Rapptz c055fd32bb Fix ui.Button providing a custom_id for premium buttons 2024-06-15 07:46:36 -04:00
Rapptz fb12d3d546 Remove unnecessary warning logs for poll events 2024-06-13 23:31:14 -04:00
Rapptz 837bc35b87 Add missing versionadded for a few decorators 2024-06-12 14:42:12 -04:00
Rapptz 0e58a927dd [commands] Add support for channel URLs in channel converter
Fix #9799
2024-06-02 15:51:14 -04:00
Rapptz efe81a67fb Fix Message.poll not prioritising API data over cached data 2024-05-22 09:04:37 -04:00
Rapptz b0024dc866 Change line endings from CRLF to LF in voice_state.py 2024-05-16 18:48:48 -04:00
Rapptz d53877f2cb Remove async_timeout requirement
It was causing some dependency issues
2024-05-16 18:48:21 -04:00
Rapptz 64e743af50 Use InteractionMetadata for InteractionResponse.edit_message 2024-05-06 23:03:24 -04:00
Rapptz 0e016be42c Clarify some docstrings around BulkBanResponse 2024-03-15 18:11:52 -04:00
Rapptz ded9c5d87b Add support for bulk banning members 2024-03-15 18:05:35 -04:00
Rapptz 56916f9241 Fix comparisons between two Object with types 2024-02-22 20:42:24 -05:00
Rapptz 76666fbcf4 Properly check for maximum number of children 2024-02-17 01:17:31 -05:00
Rapptz 9345a2a1be Add warning for FFmpeg spawning classes executable parameter 2024-02-11 05:55:25 -05:00
Rapptz 62a70c21b6 Pin remaining documentation dependencies
For some reason the Sphinx developers made breaking changes in minor
versions
2024-01-26 10:23:44 -05:00
Rapptz 0fadddf7d0 Downgrade sphinxcontrib-websupport version 2024-01-26 09:24:29 -05:00
Rapptz 9859a3959b Pin documentation dependencies 2024-01-26 09:21:29 -05:00
Rapptz 3258507b4a Call inner item callback and interaction_check by default 2024-01-24 13:25:48 -05:00
Rapptz cb3ea9b889 Add shard_connect_timeout parameter for AutoShardedClient 2024-01-07 19:45:29 -05:00
Rapptz 9a1b91dc9f Properly restrict auto_moderation audit log action range 2024-01-06 18:53:23 -05:00
Rapptz de6a6af5d3 Fix DynamicItem row attribute being overridden 2024-01-06 06:11:39 -05:00
Rapptz 078b500657 Fix dynamic item views having a timeout causing it to evict 2023-12-30 05:00:12 -05:00
Rapptz d25b574b32 Clear outstanding chunk requests when receiving a READY event
Ref: #9571
2023-12-24 13:01:12 -05:00
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