Rapptz
d6fe511404
[tasks] Log handled exceptions before sleeping
...
Fix #10276
2025-08-22 20:05:56 -04:00
Rapptz
a16c3ca743
Remove uses of deprecated Logger.warn method
2025-08-22 20:05:56 -04:00
Rapptz
112907a897
Flip if statement for wrapped ActionRow components in modals
2025-08-22 20:05:55 -04:00
Rapptz
1e6a281c07
Allow TextDisplay as a top-level component in modals
2025-08-22 20:05:55 -04:00
Rapptz
cb364ea113
Fallback to None for AuditLogAction.category
2025-08-22 20:05:55 -04:00
Rapptz
60fd97bfda
Update total count tracking to always consider the wrapper object
2025-08-22 20:05:55 -04:00
Rapptz
5333e7c737
Remove outdated comment
2025-08-20 06:52:44 -04:00
Rapptz
110ace0a4d
Fix Section.accessory being MISSING
2025-08-20 06:51:16 -04:00
Rapptz
5fbe5b0488
Move UnfurledMediaItem and MediaGalleryItem to interactions page
2025-08-19 21:10:13 -04:00
Rapptz
928e82b1af
Use List[Component] in docs instead of spelling them all out
2025-08-19 21:10:13 -04:00
Rapptz
15ba468064
Document Section.accessory as an attribute
2025-08-19 21:09:55 -04:00
Rapptz
44a44e938f
Reformat entire project with ruff instead of black
2025-08-18 20:16:10 -04:00
Rapptz
3ef6272e07
Fix error with View.from_message when having multiple items
2025-08-18 19:04:19 -04:00
Rapptz
d58c055c5b
Remove unused import
2025-08-18 15:07:44 -04:00
Rapptz
1bc330a48a
Version bump for development
2025-08-18 15:07:05 -04:00
Rapptz
9845a53d3d
Version bump to v2.6.0
2025-08-18 15:00:51 -04:00
Rapptz
714df2cfde
Add changelog for v2.6
2025-08-18 15:00:51 -04:00
Rapptz
5d49f11709
Remove View.from_dict typing
2025-08-18 15:00:51 -04:00
Rapptz
fc12a41cdf
Run black
2025-08-18 14:49:32 -04:00
Rapptz
064cb7af71
Add View.total_children_count
2025-08-18 14:42:55 -04:00
Rapptz
f08c042217
Add content_length method to LayoutView and container items
2025-08-18 14:33:15 -04:00
Rapptz
e00bb0b0f3
Change info directive to note
2025-08-18 13:44:29 -04:00
Rapptz
13d1fbee58
Add more detail to what filenames are allowed in File.uri
2025-08-18 13:33:30 -04:00
Rapptz
76258d071a
Add note for File.uri and ASCII only names
2025-08-18 13:27:18 -04:00
Rapptz
6f6d990195
Fix type error with ItemCallbackType
2025-08-18 07:13:50 -04:00
Rapptz
0c98251087
Move Locale.language_code documentation to where it belongs
2025-08-18 06:19:30 -04:00
Rapptz
4854c56d58
Allow discord.File in places where UnfurledMediaItem or str are allowed
2025-08-18 06:11:59 -04:00
Rapptz
98d2113cdd
Hide interaction_check where it isn't really applicable
2025-08-18 05:05:05 -04:00
Rapptz
9ef5b054e5
Refactor total children count to an overrideable method
2025-08-18 04:49:20 -04:00
Rapptz
5887ce1430
Fix settings example not resetting option default state
2025-08-18 04:35:41 -04:00
Rapptz
2a69ac4ca8
Document difference between View and LayoutView
2025-08-18 04:34:24 -04:00
Rapptz
eb84d0dfcb
Add example showcasing ui.Label in modals
2025-08-17 20:02:21 -04:00
Rapptz
22d6e8d0aa
Add example showcasing how to do a settings panel
2025-08-17 19:48:18 -04:00
Rapptz
4be15b5616
Add example showcasing Container for Embed-like layouts
2025-08-16 06:18:36 -04:00
Rapptz
24d3a12117
Remove unused row parameter from TextDisplay
2025-08-16 06:18:36 -04:00
Rapptz
4f539b710f
Fix type errors in all examples
2025-08-16 06:18:36 -04:00
Rapptz
08ef967371
Typecheck when constructing MediaGalleryItem
2025-08-15 08:11:13 -04:00
Rapptz
38c6407ffd
Maintain a reference to View dispatched tasks
2025-08-14 00:47:55 -04:00
Rapptz
3fb627d078
Add support for label components and select in modals
2025-08-14 00:47:55 -04:00
Rapptz
9fb74fd7a1
Remove unnecessary TypeGuard
2025-08-13 21:27:38 -04:00
Rapptz
8c1886799d
Don't recreate ItemCallbackType
2025-08-13 21:13:17 -04:00
Rapptz
ec409a0a7b
Guard AppCommandThread.guild attribute access
2025-08-08 03:13:30 -04:00
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