Rapptz
|
69da87f455
|
[commands] Disallow float/complex in Literal but allow None
Type checkers (both mypy and pydantic) apparently don't like it
|
4 years ago |
numbermaniac
|
b84717fc76
|
Make spelling of "colour" consistent in docs
|
4 years ago |
ppotatoo
|
f4a861d76e
|
Add __int__ to discord.Colour
|
4 years ago |
HyperGH
|
686e531624
|
Adjust quickstart to not show commands example
|
4 years ago |
Josh
|
3c2674725a
|
Add as_chunks helper function
|
4 years ago |
Rapptz
|
d60689a983
|
Properly change abc.User.avatar type to Asset
|
4 years ago |
Josh
|
20c2664a50
|
[docs] Remove extraneous icon definition
|
4 years ago |
Nadir Chowdhury
|
1765cdffb1
|
Use Asset for AuditLogChanges and add more entries
|
4 years ago |
Josh
|
368fda7272
|
Remove HypesquadHouse enum from docs
|
4 years ago |
Josh
|
4fbc78ba81
|
[commands] Add support for typing.Union to Flags
|
4 years ago |
Rapptz
|
c250b9fc02
|
[commands] Fix regression with Union converters not working
This was due to the Literal restriction from earlier.
|
4 years ago |
Rapptz
|
185b554a56
|
[commands] Disallow complicated Literal types
|
4 years ago |
Rapptz
|
fb024546ff
|
[commands] Fix Literal converter not working within flags
|
4 years ago |
Rapptz
|
1c312a158a
|
[commands] Add FlagConverter.__iter__
|
4 years ago |
Nadir Chowdhury
|
829c2d4a1a
|
Add Activity.buttons
|
4 years ago |
Stella
|
91c473db57
|
[commands] Fix _HelpCommandImpl.clean_params popitem
|
4 years ago |
Rapptz
|
8e9860077d
|
[commands] Fix flag detection code in get_flags
|
4 years ago |
Alex Nørgaard
|
e09f64b7c9
|
Fix typo in FlagConverter docs
|
4 years ago |
Josh
|
e5607822d3
|
Define utils.cached_property in if TYPE_CHECKING guard
|
4 years ago |
Rapptz
|
275a754abd
|
Add support for editing message attachments
|
4 years ago |
sudosnok
|
67abfea61a
|
Add target_user and target_type to Invite objects
|
4 years ago |
Nadir Chowdhury
|
f4165755a9
|
Rename lingering _url Asset properties
|
4 years ago |
jack1142
|
a55e817ffe
|
Fix documentation for RoleConverter
|
4 years ago |
Nadir Chowdhury
|
157801bc90
|
Add Template.is_dirty
|
4 years ago |
Josh
|
8457f70477
|
[commands] Set constructible FlagConverter flags to not be required
|
4 years ago |
Nadir Chowdhury
|
1d7f387122
|
[docs] stage_channels doc typo
|
4 years ago |
Josh
|
cfe93f19b1
|
[commands] Allow FlagCommand subclasses to inherit options
|
4 years ago |
Josh
|
42463bae67
|
[commands] Add support for aliasing to FlagConverter
|
4 years ago |
Kino
|
0c1c9284f6
|
Fix typo within `HelpCommand.verify_checks` documentation
|
4 years ago |
Rapptz
|
6065329c0e
|
[commands] Avoid creating unnecessary flag mapping copies
|
4 years ago |
Rapptz
|
15bfdf66b2
|
[commands] Default construct flags if they're not passed as parameters
This only applies if and only if the flag can be default constructible.
Ergo, all the flags are optional or not required.
|
4 years ago |
Rapptz
|
ac7588f735
|
Fix some typings in utils
|
4 years ago |
Rapptz
|
212d308835
|
[commands] Some minor clean up of the flag converter documentation
Fix #6761
|
4 years ago |
Nadir Chowdhury
|
7bfb0f8133
|
[docs] fix docstring of AppInfo
|
4 years ago |
Arnav Jindal
|
2e6c28bd60
|
Bump Python version in Quickstart documentation
|
4 years ago |
Rapptz
|
18bf3d3a7d
|
[commands] Actually expose the FlagError base error
|
4 years ago |
Rapptz
|
ddb71e2aed
|
[commands] Initial support for FlagConverter
The name is currently pending and there's no command.signature hook
for it yet since this requires bikeshedding.
|
4 years ago |
Rapptz
|
1c64689807
|
Remove lingering User.avatar documentation
|
4 years ago |
Rapptz
|
c54e43360b
|
[commands] Add run_converters helper to call converters
|
4 years ago |
Rapptz
|
09f3f2111c
|
[commands] Add Context.current_parameter
|
4 years ago |
Rapptz
|
3c8d3ab078
|
Add a third overload to parse_time
Apparently this behaviour is intended in Pyright
https://github.com/microsoft/pyright/issues/1772
Despite mypy behaving as intended.
|
4 years ago |
Rapptz
|
bee6402d84
|
Fix utils.find predicate typing to accept Any
|
4 years ago |
Cryptex
|
8d74fad474
|
Update lavalink's repo url
|
4 years ago |
Nadir Chowdhury
|
95777230b0
|
Add `MessageType.guild_invite_reminder`
|
4 years ago |
Nadir Chowdhury
|
631a0b1e13
|
Add support for ApplicationFlags
|
4 years ago |
Rapptz
|
417353da4d
|
Fix up _unique and valid_icon_size implementations
|
4 years ago |
Rapptz
|
b35596f7c8
|
Add typings for discord.utils
|
4 years ago |
Rapptz
|
cc4dced7c0
|
Cleanup some of the prior typings for cached_slot_property
|
4 years ago |
Nadir Chowdhury
|
18badbc60f
|
Add typing for `utils.cached(_slot)_property`
|
4 years ago |
Rapptz
|
7fb746e6e5
|
[commands] Refactor evaluation functions to allow passing in localns
|
4 years ago |