Puncher
359eeed73c
[tasks] Add missing decorator sign
3 years ago
Rapptz
da30ba1fbb
Remove __slots__ from abc protocols
Fix #8354
3 years ago
Rapptz
afed0313a7
Clarify when None is returned from Member.edit
3 years ago
Rapptz
50179edb9a
Document attachment:// URI more prominently in Embed docs
3 years ago
Rapptz
827e140cac
Fix cchardet being installed on Python >=3.10
This project is unmaintained now
3 years ago
Rapptz
1ea5a4e06b
Add utils.setup_logging to help set up logging outside of Client.run
3 years ago
Rapptz
9c7b867d36
Fix nested Annotated calls not resolving
3 years ago
Rapptz
ff360518e3
Fix cache eviction for ratelimit objects
3 years ago
Rapptz
e4e455945c
Add root_logger setting to Client.run
This allows people one way to use the colour logger globally
3 years ago
Rapptz
3f85282631
Marginally speed up CI doc builds by using multiple jobs
3 years ago
mirnovov
18854c0124
Document get_thread not fetching archived threads
3 years ago
z03h
7d7be56eb6
Add mention_spam automod trigger and change default values
3 years ago
Rapptz
44ea19c2a5
Fix time_snowflake not being documented
3 years ago
Rapptz
486ccd04df
Change snowflake_time and time_snowflake parameters to pos/kw-only
3 years ago
Soheab
6c59f7de09
[commands] Add description kwarg to parameters and show in default help
3 years ago
Rapptz
77211b04dc
Ensure FFmpeg players have a _process attribute set even during errors
3 years ago
Rapptz
7a199fe567
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
James Hilton-Balfe
7a216b2e7d
Fix overload order on as_chunks
3 years ago
Puncher
94f93a8b68
Raise TypeError when token is not a string
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
0274b6ad5f
Remove stack info from ratelimit logs
3 years ago
Rapptz
cd187648e1
Add __bool__ for flags
3 years ago
Rapptz
674845479d
Add support for resume_gateway_url
3 years ago
z03h
ede86ba68d
Fix Sticker Objects type being StageInstance
3 years ago
z03h
39a3fc341f
Add Object.type to Objects where a type can be determined
3 years ago
James Hilton-Balfe
cbf2386737
Fix overlapping or incorrect slots found by slotscheck
3 years ago
Rapptz
fec36318f7
Change abc.GuildChannel.overwrites to have Object keys if cache failed
Ultimately despite it not being the prettiest, Object keys ended up
being the sanest solution to this without destroying ergonomics.
3 years ago
Rapptz
ad940c7100
Document Text in Voice in the migrating documentation
Closes #8179 #8064
3 years ago
Josh
ffe8f53bd9
Add support for specifying the type of a generic discord.Object
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
6eb665fd98
Use persistent dictionary for ratelimit information
This should prevent ratelimit information from being cleared too early.
In order to prevent the dictionary from growing to large expired keys
are deleted once they've been deleted.
At present I'm unsure if this change would cause too much CPU pressure.
3 years ago
Rapptz
49e4339478
[commands] Ensure Command.extras are copied
Fix #8309
3 years ago
Bryan Forbes
b9795979ac
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
3 years ago
Rapptz
f15d7e12b2
[commands] Fix Annotated not working with FlagConverter
3 years ago
Rapptz
2e9dfb3e12
Fix various a -> an typos across the library
Closes #8301 , #8287
3 years ago
z03h
ce14c34468
Set allow_list for fetched AutoModRules
3 years ago
Mikey
5603309197
Document relationship between AutoModRuleAction and its type
3 years ago
Maya
e73c1a3b9e
[commands] Fix typing error with CheckAnyFailure
3 years ago
Alex Nørgaard
d838014277
Allow creation of allow lists in automod word filter rules
3 years ago
Bryan Forbes
b891fda6a7
Fix various generics throughout the public interface
Fix CooldownMapping generic typing and ensure other public methods
have proper generics
3 years ago
Rapptz
e45257f6f4
Fix bolded HTTPException not working due to rST limitation
3 years ago
Soheab
521e9eb6ca
Fix small typo in Guild.edit docstring
3 years ago
Vioshim
2a464b8041
Implement Embed.__eq__ and EmbedProxy.__eq__
3 years ago
Stocker
ce3853a38d
Use a TypeVar for flatten_user to workaround Pyright bug
3 years ago
Rapptz
50ac9268bb
Fix crash with automod due to silent Discord breaking change
Fix #8264
3 years ago
Rapptz
76ce315a83
[commands] Fix type annotations to use Union instead of |
3 years ago
Mikey
d92309e19d
[commands] Change cooldowns to take context instead of message
3 years ago
Rapptz
00590e865f
Use a sequence instead of a list for AllowedMentions
3 years ago
Sebastian Law
b17fb67341
[commands] Unload cog when command registration fails in _inject
3 years ago
Rapptz
088e763306
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
918151c5ad
Fix utils.copy_doc being partially unknown
3 years ago
Rapptz
3e6eb0dec3
Add extraneous debug logging to sub ratelimits being detected
3 years ago