Rapptz
fc12a41cdf
Run black
10 months ago
Rapptz
064cb7af71
Add View.total_children_count
10 months ago
Rapptz
f08c042217
Add content_length method to LayoutView and container items
10 months ago
Rapptz
e00bb0b0f3
Change info directive to note
10 months ago
Rapptz
13d1fbee58
Add more detail to what filenames are allowed in File.uri
10 months ago
Rapptz
76258d071a
Add note for File.uri and ASCII only names
10 months ago
Rapptz
6f6d990195
Fix type error with ItemCallbackType
10 months ago
Rapptz
0c98251087
Move Locale.language_code documentation to where it belongs
10 months ago
Rapptz
4854c56d58
Allow discord.File in places where UnfurledMediaItem or str are allowed
10 months ago
Rapptz
98d2113cdd
Hide interaction_check where it isn't really applicable
10 months ago
Rapptz
9ef5b054e5
Refactor total children count to an overrideable method
10 months ago
Rapptz
5887ce1430
Fix settings example not resetting option default state
10 months ago
Rapptz
2a69ac4ca8
Document difference between View and LayoutView
10 months ago
Rapptz
eb84d0dfcb
Add example showcasing ui.Label in modals
10 months ago
Rapptz
22d6e8d0aa
Add example showcasing how to do a settings panel
10 months ago
Rapptz
4be15b5616
Add example showcasing Container for Embed-like layouts
10 months ago
Rapptz
24d3a12117
Remove unused row parameter from TextDisplay
10 months ago
Rapptz
4f539b710f
Fix type errors in all examples
10 months ago
Sacul
7e2ca02fd1
Add total_message_sent attribute to threads
Co-authored-by: Alex Nørgaard <[email protected] >
Co-authored-by: dolfies <[email protected] >
10 months ago
Rapptz
08ef967371
Typecheck when constructing MediaGalleryItem
10 months ago
Soheab
983a9b8f94
Use Unpack where it's possible
10 months ago
Soheab
13432591c6
Fix various docs around UI items
Co-authored-by: Danny <[email protected] >
10 months ago
Sacul
4839036eea
Add missing guild features in types.guild
10 months ago
Soti
773fcc83df
Remove outdated note about having to delete owned guild
10 months ago
Rapptz
38c6407ffd
Maintain a reference to View dispatched tasks
10 months ago
Rapptz
3fb627d078
Add support for label components and select in modals
10 months ago
Rapptz
9fb74fd7a1
Remove unnecessary TypeGuard
10 months ago
Rapptz
8c1886799d
Don't recreate ItemCallbackType
10 months 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.
10 months ago
Soheab
705eb2c2a5
Update to support new pin endpoints
10 months ago
DA344
50caa3c82c
Add support for components V2
Co-authored-by: Michael H <[email protected] >
Co-authored-by: Soheab <[email protected] >
Co-authored-by: owocado <[email protected] >
Co-authored-by: Jay3332 <[email protected] >
Co-authored-by: Danny <[email protected] >
10 months ago
Sacul
6ec2e5329b
Deprecate with_expiration param in fetch_invite
10 months ago
Rapptz
ec409a0a7b
Guard AppCommandThread.guild attribute access
10 months ago
Sacul
db42eba4fa
Add more attributes to AppCommandChannel/Thread
10 months ago
Soheab
7b3f798044
Add support for guild onboarding
Co-authored-by: Josh <[email protected] >
Co-authored-by: Josh <[email protected] >
Co-authored-by: numbermaniac <[email protected] >
Co-authored-by: Andrin <[email protected] >
Co-authored-by: Andrin Schaller <[email protected] >
Co-authored-by: DA344 <[email protected] >
10 months ago
Soheab
21fed315c7
Add FAQ about guild specific app commands
10 months ago
owocado
4496df79d0
Fix crash in Activity.__init__ with missing keys
not all activity payloads have `state_url` and `details_url` keys present.
11 months ago
Soheab
cb7f17020d
Deprecate Guild.delete and various parameters for Guild.edit
11 months ago
Soheab
1cd90f8b1c
[commands] Fix converters not working with Optional for hybrids
11 months ago
Soheab
6e7fc133d1
Add support for new RPC Activity fields
11 months ago
Alex Nørgaard
348c7d7873
Fix audit log automod_rule_trigger_type extra missing
11 months ago
owocado
2695fa056a
Fix guild_only app command decorator
11 months ago
shea
ce9f5ad1ba
Fix context install decorators to correctly restrict commands
1 year ago
Ankita Tudubucket
22ade98db7
Skip GUILD_MEMBER_ADD if member already cached
11 months ago
Mohammed Aman Jukaku
5b81a99b60
Fix error when sending non-interactive views via partial webhooks
11 months ago
Sacul
e715ad6419
Add support for automod_quarantined_guild_tag member flag
11 months ago
Sacul
5f4a822c2e
Add missing fill_with_flags decorator to InviteFlags class
11 months ago
z03h
0e97ef21aa
Fix key error on role create or delete
11 months ago
blord0
7724764ffe
Add ability to use primary guild (clan) data for users
Co-authored-by: blord0 <[email protected] >
Co-authored-by: DA344 <[email protected] >
Co-authored-by: dolfies <[email protected] >
11 months ago
Ken-Miles
13dc9c9d16
Fix miswording in docstring about bot.emojis
11 months ago