42 Commits (master)

Author SHA1 Message Date
Danny 2e2f51fd5c
First pass at supporting user apps 12 months ago
Rapptz 0adef0ec89 Update auto_archive_duration documentation 2 years ago
Rapptz 3ff88db768 Update pyright to 1.1.289 2 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 3 years ago
Rapptz b92fd65707 Document app_commands.Choice limits 3 years ago
Bryan Forbes 63b32994f4
Improve TranslationContext type narrowing using a tagged union 3 years ago
Rapptz 49e6fe9a0c Fix autocomplete translations calling unnecessary locales 3 years ago
Rapptz 32c5a0cec1 Change default Choice.name_localizations to an empty dict 3 years ago
Rapptz f69d4ee5cb Add Choice.name_localizations data from Discord 3 years ago
Rapptz c32567ea81 Refactor TranslationContext to be more useful 3 years ago
z03h dc81ff76c4
Add Object.type to Objects where a type can be determined 3 years ago
Rapptz 7d20379bd9 Add name_localizations and description_localizations to AppCommand & co 3 years ago
Rapptz 2d586ae805 Add initial support for app command localisation 3 years ago
Bryan Forbes d707019348
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores 3 years ago
Rapptz 6c42065210 Fix various a -> an typos across the library 3 years ago
Soheab 6e3c359373
Add min/max_length to Argument 3 years ago
Lucas Hardt 24b619a516
Fix docstring for AppCommand.options and AppCommandGroup.options 3 years ago
Lucas Hardt 55b9a848ff
Implement AppCommand mentions 3 years ago
Emily c61e407b50
Fix typo in app_commands.AppCommandGroup 3 years ago
Soheab e73a805bd7
Add missing data to Argument model 3 years ago
Josh c9f777c873
Fix type annotations to adhere to latest pyright release 3 years ago
Soheab 3cb90199c9
Remove private legacy cruft from AppCommand models 3 years ago
will ae51d5849a
Fix typos in AppCommandPermissions attributes doc 3 years ago
Rapptz 377dde4e4e Change app command permission models guild to not be None 3 years ago
Soheab 3aa55ba1ed
Implement Application Command Permissions models 3 years ago
Rapptz 573b2121b7 Add support for NSFW application commands 3 years ago
z03h bd727d2b0c
Add edit and delete methods to AppCommand 3 years ago
Bryan Forbes 4a73de946a
Change dm_permissons to dm_permission 3 years ago
Rapptz d774b4ac7a Add back tuple __slots__ for AllChannels 3 years ago
Rapptz ca33824ba2 Change AllChannels.id into a property rather than a slot 3 years ago
z03h 619bc50e5d
Add application command permissions to audit log 3 years ago
Rapptz 3b3d4d3880 Add support for setting and receiving permissions v2 3 years ago
Rapptz 6986733833 Revert "Validate Option names similar to slash command names" 3 years ago
Rapptz 6ef2043b10 Validate Option names similar to slash command names 3 years ago
jack1142 5ffa3e85de
Update comments after `# type: ignore` to be compatible with PEP 484 3 years ago
Rapptz 1192d842e1 Fix some type checker errors and remove some type ignores 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Rapptz bbf7a7981b Ensure all choices are the same type as the parameter type 3 years ago
Rapptz aa74238053 Reorganise documentation for interactions 3 years ago
Rapptz ae1aaac5a7 Add support for autocomplete 3 years ago
Rapptz 4e04dbdec7 Add support for choice option parameters 3 years ago
Rapptz 0d2db90028 Implement slash commands 3 years ago