Mysty
418a7915e6
Add raw presence update evemt
2 months ago
Dep
b1b736971a
Added scopeless kwarg to discord.utils.oauth_url
3 months ago
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.
4 months ago
Andrin
20c543f672
Add support for message call
6 months ago
Lilly Rose Berner
91f300a28a
Add zstd gateway compression to speed profile
6 months ago
Andrin
a70217a719
Support for Soundboard and VC effects
6 months ago
Jakub Kuczys
aeab0d48fd
Fix stacklevel for Message.interaction deprecation warning
7 months ago
Josh
9fab99acbc
[commands] Add support for type statement and NewType
11 months ago
Josh
4e03b170ef
Update pyright version
1 year ago
Rapptz
f617d01eee
Refactor human_join into its own private helper function
2 years ago
Rapptz
e5da7f23cb
Fix escape behaviour for lists and headers in escape_markdown
Fixes #9516
2 years ago
Rapptz
e870bb1335
Add constant for the default file size limit
2 years ago
Rapptz
c57d488ca6
Fix FileHandler having ANSI escapes when used within PyCharm
2 years ago
Andrin S
1767be0081
Add support for voice messages
Co-authored-by: Danny <[email protected] >
2 years ago
Andrin S
50f7b94656
Escape # and - in markdown utilities
2 years ago
Rapptz
93ed1646d2
Cleanup some private utilities in app_commands.commands
2 years ago
Rapptz
469f006d8b
Formally document utils.maybe_coroutine
2 years ago
Rapptz
1700086f1a
Enable colour logging for docker even if tty is not set
2 years ago
Tom
e92a626662
Add Pycharm support to coloured logging
2 years ago
Jakub Kuczys
d2c6a32543
Type hint support for slices and __index__ in SequenceProxy
3 years ago
Jakub Kuczys
dc34a8f1dc
Add repr to the SequenceProxy
3 years ago
Josh
0981f122af
Add overloads to utils.sleep_until
3 years ago
Rapptz
2bf2bfc9b4
Add utils.setup_logging to help set up logging outside of Client.run
3 years ago
Rapptz
1c7747fe9d
Fix nested Annotated calls not resolving
3 years ago
Rapptz
f52a02359d
Use built-in isascii instead of regex
3 years ago
Rapptz
596f2ca222
Fix time_snowflake not being documented
3 years ago
Rapptz
5b56899676
Change snowflake_time and time_snowflake parameters to pos/kw-only
3 years ago
James Hilton-Balfe
e2d5791b67
Fix overload order on as_chunks
3 years ago
Rapptz
87bc79e6e3
Change certain sequences to use a special proxy type instead of list
This is to speed up cases where someone is just querying the length
of the underlying sequence. If anything else is done to the sequence
then it is copied from the original iterator.
This change should be mostly transparent.
3 years ago
Rapptz
98c4f2ae8b
Fix utils.copy_doc being partially unknown
3 years ago
Harshal Laheri
20d3871290
Add return type hint for some functions
3 years ago
James Hilton-Balfe
3433e13848
Prioritise async iteration before sync iteration in utils.find/get
3 years ago
Rapptz
c232631504
Refactor utils.oauth_url slightly
3 years ago
Miku Chan
40f12c8a00
Add state parameter to utils.oauth_url
Co-authored-by: Danny <[email protected] >
3 years ago
Josh
c9f777c873
Fix type annotations to adhere to latest pyright release
3 years ago
Rapptz
500bf77103
Document and export MISSING sentinel
3 years ago
Bryan Forbes
06c257760b
Update types to use Awaitable where possible
3 years ago
Bryan Forbes
8524bfb54d
Fix caching of UnionType instead of resolved typing.Union
3 years ago
Rapptz
aa18e573c3
Mark MISSING as hashable to allow it to be used in dataclasses in 3.11
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Rapptz
0ef369c0fa
[commands] Automatically unload top level app commands in extensions
3 years ago
Neon Jonn
adb69e7157
Fix some spelling mistakes
3 years ago
Rapptz
56e0c1b3d7
Fix typo in applications.commands scope
3 years ago
Rapptz
8213603822
Change default oauth_url scopes to include application.commands
3 years ago
Rapptz
4c8b1f9abd
Remove unused imports
3 years ago
Rapptz
26fc694189
Fix Optional normalisation not working properly
3 years ago
Rapptz
3d0c506124
Fix test_resolve_invite due to changed type
3 years ago
Nadir Chowdhury
3c6279b947
Implement Guild Scheduled Events
3 years ago
Josh
2b69b5d545
Remove discord.InvalidArgument
This uses TypeError and ValueError instead.
3 years ago
Rapptz
8226f0df2c
[commands] Require number of parameters at instantiation time
This allows it to bypass annotation evaluation for arguments that don't
matter like self and context.
3 years ago