Sacul
46300dfc62
Add missing reason kwarg in delete_invite
3 weeks ago
Soheab
a2a228105b
Fix various TypeDicts for Unpack
3 weeks ago
Rapptz
44a44e938f
Reformat entire project with ruff instead of black
2 months ago
Soheab
983a9b8f94
Use Unpack where it's possible
2 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] >
2 months ago
Sacul
6ec2e5329b
Deprecate with_expiration param in fetch_invite
2 months ago
Ken-Miles
13dc9c9d16
Fix miswording in docstring about bot.emojis
3 months ago
owocado
4862ea22fd
Return invites when deleting them via Invite.delete or Client.delete_invite
4 months ago
Gooraeng
adb93f4a60
Add deprecation warning to create_guild functions
4 months ago
Soheab
7f511360b8
Fix wait_for overloads
8 months ago
Mysty
418a7915e6
Add raw presence update evemt
9 months ago
tom
2c3938dd51
Update Client.create_application_emoji docs
9 months ago
Alex Nørgaard
cf6d7ff47a
Fix bug due to typo in async pagination of entitlements loop
9 months ago
DA344
eb15aa8ca4
Add exclude_deleted parameter to Client.entitlements
9 months ago
Ginger
fcd9239b33
Add Client.fetch_guild_preview method
9 months ago
MCausc78
58b6929aa5
Add SKU subscriptions support
1 year ago
lmaotrigine
d10e70e04c
[docs] Fix spelling
1 year ago
Andrin
a70217a719
Support for Soundboard and VC effects
1 year ago
Rapptz
df4b1c88df
Move MissingApplicationID to top-level discord namespace
1 year ago
Rapptz
a08f7a14ff
Add a warning if interaction endpoint URL is set on login
1 year ago
Soheab
463b4bd570
Add support for application emojis
Co-authored-by: DA344 <[email protected] >
Co-authored-by: Danny <[email protected] >
1 year ago
Andrin
34bf026a02
Add support for get sticker pack
1 year ago
Michael H
da89fbc8b5
Re-add client connector param
This provides paths for users to handle two entirely seperate issues
- Alternative fix for #9870
- Allows handling of windows sslcontext issues without a global
truststore.inject_into_ssl() use
1 year ago
DA344
e43bd8692c
Add support for Polls
Co-authored-by: owocado <[email protected] >
Co-authored-by: Josh <[email protected] >
Co-authored-by: Trevor Flahardy <[email protected] >
1 year ago
Michael H
88f62d85d2
Ensure Client.close() has finished in __aexit__
This wraps the closing behavior in a task. Subsequent callers of
.close() now await that same close finishing rather than short
circuiting. This prevents a user-called close outside of __aexit__ from
not finishing before no longer having a running event loop.
1 year ago
Josh
4e03b170ef
Update pyright version
2 years ago
Lucas Hardt
99618c823a
Add support for premium app integrations
Co-authored-by: Danny <[email protected] >
Co-authored-by: Lucas Hardt <[email protected] >
Co-authored-by: Andrin S. <[email protected] >
2 years ago
Lucas Hardt
3827671bf7
Fix misleading Error documentation for Client.fetch_guild
2 years ago
Rapptz
7c3868ef3b
Add Client.remove_dynamic_items
2 years ago
Rapptz
a852f90358
Add support for dynamic items that parse custom_id for state
2 years ago
Andrin S
66689e16e8
Add with_counts param to fetch_guilds
2 years ago
Andrin S
4828355f9e
Change and add params in AppInfo and PartialAppInfo
3 years ago
Bryan Forbes
0ea098567c
[commands] Use `...` for `Command` and `Group` typing
3 years ago
Bryan Forbes
1de3562f34
Fix partially uknown typing errors
3 years ago
z03h
e6ef43139f
Don't store finished views/modals
3 years ago
Rapptz
bbba8c650f
Add missing generic parameters on various Interaction parameters
3 years ago
Rapptz
3c91d2163e
Fix overload for on_raw_typing in wait_for
3 years ago
Rapptz
bf860b0b07
Add support for generic ClientT in Interaction
3 years ago
Rapptz
ef7d740524
Add overload for audit_log_entry_create
3 years ago
James Hilton-Balfe
375a001da8
Add overloads for all the events in the event reference
Co-authored-by: Sebastian Law <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Eta
4122bef8ee
Fix async iterators requesting past their bounds
This affects Messageable.history, ScheduledEvent.users,
Client.fetch_guilds, and Guild.audit_logs.
To illustrate the problem, Messageable.history counted returned
messages to tell when to stop iteration, but did so before filtering
away those past the before or after boundaries. When both
oldest_first=False and an after boundary were provided, this led to the
history iterator continuing to retrieve messages older than the after
boundary, which would then all be filtered away, continuing until the
message limit or the beginning of the entire channel was reached.
A similar situation would also occur with oldest_first=True and a
before boundary provided.
This commit changes the logic in these methods to count items after
filtering, so they stop requesting more as soon as the in-bounds items
are exhausted.
3 years ago
Steve C
ce06beeb6c
Fix permissions-based docstrings to be more consistent
3 years ago
Ionite
6981eb69c4
Normalize type formatting in TypeError
Normalize most mixed usages of `__class__`, `__class__!r`,
`__class__.__name__!r` to the standard form of
`__class__.__name__`
3 years ago
Rapptz
2bf2bfc9b4
Add utils.setup_logging to help set up logging outside of Client.run
3 years ago
Rapptz
7be0779b65
Add root_logger setting to Client.run
This allows people one way to use the colour logger globally
3 years ago
Rapptz
3802780f77
Change a lot of logging INFO calls to be less verbose
Some of the logs were only useful for debug scenarios, so they have
been downgraded to DEBUG. Others were in INFO but supposed to be in
WARNING so those were upgraded.
3 years ago
Puncher
584c22f642
Raise TypeError when token is not a string
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
7da2048d1a
Add support for resume_gateway_url
3 years ago
z03h
dc81ff76c4
Add Object.type to Objects where a type can be determined
3 years ago
Rapptz
2d586ae805
Add initial support for app command localisation
3 years ago