Rapptz
1e6a281c07
Allow TextDisplay as a top-level component in modals
1 week ago
Rapptz
cb364ea113
Fallback to None for AuditLogAction.category
1 week ago
Rapptz
60fd97bfda
Update total count tracking to always consider the wrapper object
1 week ago
DA344
735b033701
Add a swap method for dynamic item's dispatching
2 weeks ago
Rapptz
5333e7c737
Remove outdated comment
2 weeks ago
Rapptz
110ace0a4d
Fix Section.accessory being MISSING
2 weeks ago
Sacul
f30375ddaa
Fix note in button decorator in action row
2 weeks ago
Rapptz
5fbe5b0488
Move UnfurledMediaItem and MediaGalleryItem to interactions page
2 weeks ago
Rapptz
928e82b1af
Use List[Component] in docs instead of spelling them all out
2 weeks ago
DA344
c3158127ff
Fix Section.children and accessory's parent being None
2 weeks ago
Rapptz
15ba468064
Document Section.accessory as an attribute
2 weeks ago
Rapptz
44a44e938f
Reformat entire project with ruff instead of black
2 weeks ago
Rapptz
3ef6272e07
Fix error with View.from_message when having multiple items
2 weeks ago
Rapptz
d58c055c5b
Remove unused import
2 weeks ago
Rapptz
1bc330a48a
Version bump for development
2 weeks ago
Rapptz
9845a53d3d
Version bump to v2.6.0
2 weeks ago
Rapptz
714df2cfde
Add changelog for v2.6
2 weeks ago
Rapptz
5d49f11709
Remove View.from_dict typing
2 weeks ago
Rapptz
fc12a41cdf
Run black
2 weeks ago
Rapptz
064cb7af71
Add View.total_children_count
2 weeks ago
Rapptz
f08c042217
Add content_length method to LayoutView and container items
2 weeks ago
Rapptz
e00bb0b0f3
Change info directive to note
2 weeks ago
Rapptz
13d1fbee58
Add more detail to what filenames are allowed in File.uri
2 weeks ago
Rapptz
76258d071a
Add note for File.uri and ASCII only names
2 weeks ago
Rapptz
6f6d990195
Fix type error with ItemCallbackType
2 weeks ago
Rapptz
0c98251087
Move Locale.language_code documentation to where it belongs
2 weeks ago
Rapptz
4854c56d58
Allow discord.File in places where UnfurledMediaItem or str are allowed
2 weeks ago
Rapptz
98d2113cdd
Hide interaction_check where it isn't really applicable
2 weeks ago
Rapptz
9ef5b054e5
Refactor total children count to an overrideable method
2 weeks ago
Rapptz
5887ce1430
Fix settings example not resetting option default state
2 weeks ago
Rapptz
2a69ac4ca8
Document difference between View and LayoutView
2 weeks ago
Rapptz
eb84d0dfcb
Add example showcasing ui.Label in modals
2 weeks ago
Rapptz
22d6e8d0aa
Add example showcasing how to do a settings panel
2 weeks ago
Rapptz
4be15b5616
Add example showcasing Container for Embed-like layouts
2 weeks ago
Rapptz
24d3a12117
Remove unused row parameter from TextDisplay
2 weeks ago
Rapptz
4f539b710f
Fix type errors in all examples
2 weeks ago
Sacul
7e2ca02fd1
Add total_message_sent attribute to threads
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: dolfies <jeyalfie47@gmail.com>
2 weeks ago
Rapptz
08ef967371
Typecheck when constructing MediaGalleryItem
2 weeks ago
Soheab
983a9b8f94
Use Unpack where it's possible
2 weeks ago
Soheab
13432591c6
Fix various docs around UI items
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2 weeks ago
Sacul
4839036eea
Add missing guild features in types.guild
2 weeks ago
Soti
773fcc83df
Remove outdated note about having to delete owned guild
2 weeks ago
Rapptz
38c6407ffd
Maintain a reference to View dispatched tasks
3 weeks ago
Rapptz
3fb627d078
Add support for label components and select in modals
3 weeks ago
Rapptz
9fb74fd7a1
Remove unnecessary TypeGuard
3 weeks ago
Rapptz
8c1886799d
Don't recreate ItemCallbackType
3 weeks ago
Michael H
439bd71c0d
Upstream change in Python
The prior changes to use of return in finally (#9981 ) are now
insufficient. Without disclosing their intent when raising the issue,
this was used by them as part of justifying a SyntaxError for working
code outside of the normal process for adding errors, and with it
presenting to end users in a way that breaks downstream user's existing CI
While making the change, I've continued to not log errors like
CancellationError or TimeoutError to users here by default, as it is not an error
they need to be aware of during shutdown given the limited kinds of
BaseException that could raise in this context, see: #9984 for prior
analysis. I've added a debug log should anyone want access to this kind
of failure while debugging gateway close, but due to how asyncio
shutdown happens, this is unlikely to ever log anything useful even in a
library debugging context.
3 weeks ago
Soheab
705eb2c2a5
Update to support new pin endpoints
3 weeks ago
DA344
50caa3c82c
Add support for components V2
Co-authored-by: Michael H <michael@michaelhall.tech>
Co-authored-by: Soheab <33902984+Soheab@users.noreply.github.com>
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Jay3332 <40323796+jay3332@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
3 weeks ago
Sacul
6ec2e5329b
Deprecate with_expiration param in fetch_invite
3 weeks ago