Commit Graph

  • 147948af9b Use typing.Self throughout library Josh 2022-03-01 22:53:24 +10:00
  • a90e1824f4 Fix type of roles param in Emoji.edit's docstring jack1142 2022-03-01 13:41:33 +01:00
  • 50ef8e8893 Fix NameError when checking for File instances Rapptz 2022-03-01 07:20:57 -05:00
  • f63eb5c30d Fix avatar clearing in ClientUser.edit jack1142 2022-03-01 12:47:28 +01:00
  • d44328d3ea Remove region from Guild.__slots__ Rapptz 2022-03-01 05:51:18 -05:00
  • bb5ed4947d Add regression test for optional normalisation Rapptz 2022-03-01 05:45:25 -05:00
  • 26fc694189 Fix Optional normalisation not working properly Rapptz 2022-03-01 05:00:59 -05:00
  • ae1aaac5a7 Add support for autocomplete Rapptz 2022-03-01 04:38:41 -05:00
  • 4e04dbdec7 Add support for choice option parameters Rapptz 2022-02-28 10:08:43 -05:00
  • e5e5b61ad0 Add support for range validation in options Rapptz 2022-02-28 09:09:21 -05:00
  • 3cf3065c02 Add support for annotation transformers Rapptz 2022-02-28 08:06:32 -05:00
  • c10ed93cef Add support for error handlers Rapptz 2022-02-27 23:34:40 -05:00
  • cdb7b3728e Fix potential conflicts in snowflake keys Rapptz 2022-02-26 11:43:36 -05:00
  • dffd72da58 Add support for context menu commands Rapptz 2022-02-26 10:51:16 -05:00
  • 0d2db90028 Implement slash commands Rapptz 2022-02-25 11:10:47 -05:00
  • 3d0c506124 Fix test_resolve_invite due to changed type Rapptz 2022-03-01 01:07:13 -05:00
  • 28c7cdca99 Baseline tests, basically just parts of utils right now Devon R 2022-03-01 06:02:36 +00:00
  • 3c6279b947 Implement Guild Scheduled Events Nadir Chowdhury 2022-03-01 06:00:04 +00:00
  • 90cabd1673 Fix various typos Nihaal Sangha 2022-02-28 02:19:19 +00:00
  • 32f131566f Update gateway version docstring in DiscordWebSocket Predä 2022-02-28 03:18:41 +01:00
  • d5f23dbfc2 Fix docs for Guild.mfa_level mniip 2022-02-28 05:18:01 +03:00
  • e44dd3dee5 Fix position of versionadded and add new versionchanged jack1142 2022-02-28 03:16:45 +01:00
  • 60b69e5d57 Add missing message flags Nadir Chowdhury 2022-02-27 10:09:04 +00:00
  • 8269e99a7a [types] Update typings to match API Nadir Chowdhury 2022-02-27 10:08:32 +00:00
  • e3ecfff85e Update PO files, fix some bad fuzzies Devon R 2022-02-27 10:07:18 +00:00
  • b3dae26a3d Add typing-extensions to docs requires Devon R 2022-02-27 10:06:34 +00:00
  • f1ac25809c [tasks] Fix behavior when task overruns interval Sebastian Law 2022-02-25 22:48:27 -08:00
  • 2b69b5d545 Remove discord.InvalidArgument Josh 2022-02-26 16:44:49 +10:00
  • 86797dd9ab Add reason param to purge and delete_messages VaskelandDanny 2022-02-26 01:27:28 -05:00
  • 8226f0df2c [commands] Require number of parameters at instantiation time Rapptz 2022-02-25 10:53:21 -05:00
  • 0b5c3cf256 [types] Fix types for channels and interactions Rapptz 2022-02-25 10:44:53 -05:00
  • e13997f35e Remove region parameters from HTTPClient Rapptz 2022-02-25 10:44:37 -05:00
  • 29c26bc0a6 [types] Fix application command choice typings Rapptz 2022-02-23 17:38:52 -05:00
  • 0ed745f5ae Remove regular context manager support from Typing Rapptz 2022-02-23 16:05:08 -05:00
  • c7df838a39 Remove AuditLogDiff.region references Rapptz 2022-02-23 10:14:36 -05:00
  • fd4c5a65ed Remove topic from StageChannel.edit's overload jack1142 2022-02-23 16:13:54 +01:00
  • 0eb2f32399 Remove VoiceRegion enum and Guild.region attribute Rapptz 2022-02-23 08:56:10 -05:00
  • cc21872072 Add Locale enum Rapptz 2022-02-23 08:41:50 -05:00
  • 6979e56088 Remove manual :async-for: markers Nadir Chowdhury 2022-02-23 13:05:23 +00:00
  • 39c5a4fdc3 Fix type-errors in commands extension Josh 2022-02-23 23:04:49 +10:00
  • a315786869 Handle type-errors in upcoming pyright release Josh 2022-02-22 23:51:11 +10:00
  • ff90e7e747 GUILD_UPDATE audit logs mniip 2022-02-22 16:48:26 +03:00
  • 550bdda51b Temporarily disable artefact uploading Rapptz 2022-02-22 06:54:20 -05:00
  • 8d52ddaff6 Fix remaining type errors in main package Rapptz 2022-02-22 04:19:46 -05:00
  • 3e90664cf9 Fix signature for VoiceClient Rapptz 2022-02-22 04:09:48 -05:00
  • 285069de08 Fix types in guild.py Josh 2022-02-22 17:34:17 +10:00
  • 3ce00abeae Fix some type-check errors Josh 2022-02-22 16:48:41 +10:00
  • c8064ba6f2 Type-hint gateway Josh 2022-02-22 16:44:52 +10:00
  • f5e087c5c3 Fix typing in emoji.py Josh 2022-02-22 15:01:50 +10:00
  • 76983d7c20 Add black lint & workflow reorganization Devon R 2022-02-22 07:38:37 +00:00
  • 70b577e94b Fix typing in voice related files Josh 2022-02-22 17:37:22 +10:00
  • 437d451d4e Fix typing in Audit Logs Josh 2022-02-22 14:32:59 +10:00
  • 30e7a2e937 Fix a few more type errors Rapptz 2022-02-21 23:31:18 -05:00
  • d01e73fca5 Document more uses of type ignore Rapptz 2022-02-21 23:08:26 -05:00
  • 51b79411e3 Fix and document type ignores in client Rapptz 2022-02-21 22:52:24 -05:00
  • 6c2ea4f0a0 Fix some type ignores in backoff and channel Rapptz 2022-02-21 22:43:19 -05:00
  • c7c6d74d8d Fix type errors in the abc module Rapptz 2022-02-21 22:38:36 -05:00
  • 24b729ed0d Fix up some type ignores in state.py Rapptz 2022-02-21 22:28:32 -05:00
  • 3cf000d467 Type up gateway payloads Nadir Chowdhury 2022-02-22 03:09:40 +00:00
  • d409ddd227 Alter return-type of button/select decorators Josh 2022-02-22 12:54:44 +10:00
  • 22b06e7bf8 Fix TextChannel.archived_threads mniip 2022-02-22 05:53:40 +03:00
  • cd1dd7d670 [commands] Properly eject listeners with custom names mniip 2022-02-22 05:42:00 +03:00
  • 40dc8d1d9d Change Webhook.avatar to be consistent with User.avatar jack1142 2022-02-22 03:13:01 +01:00
  • 19ad64adda [tasks] Fix initial loop execution running prematurely Sebastian Law 2022-02-21 17:45:03 -08:00
  • d24a339dbf Fix missing view parameter in edit message response Predä 2022-02-22 02:44:29 +01:00
  • 6dbd40a8ef Remove use of typing.Self from TextInput Josh 2022-02-22 00:13:18 +10:00
  • 38e6dc4f27 Fix passing ephemeral and thinking together Maya 2022-02-22 00:37:59 +13:00
  • 3c6281ce33 Set attributes of StickerPack as Optional Sebastian Law 2022-02-21 03:25:23 -08:00
  • 45b9585910 Remove versionchanged in PartialMessageable jack1142 2022-02-21 03:20:25 +01:00
  • 5589934a59 Fix NameError in utils.get Rapptz 2022-02-20 11:22:40 -05:00
  • c406951532 Fix typing errors in Guild.audit_logs Rapptz 2022-02-20 11:21:07 -05:00
  • f2600995e8 Fix NameError due to missing import Rapptz 2022-02-20 11:04:27 -05:00
  • e56f64218a Rename default_value to default for TextInput Rapptz 2022-02-20 11:02:48 -05:00
  • 2c72fc9cde [docs] Suppress inconsistent references in translated message warning jack1142 2022-02-20 15:33:05 +01:00
  • 4f85494c11 Fix Sequence inheritance in 3.8 Rapptz 2022-02-20 08:54:15 -05:00
  • fbb8a35de6 Relocate and fix versionchanged in find and get Rapptz 2022-02-20 08:46:20 -05:00
  • a1e64dd657 Fix Sphinx build failing Rapptz 2022-02-20 08:29:45 -05:00
  • eb6f5728e2 Add support for AsyncIterables in find and get James Hilton-Balfe 2022-02-20 13:09:17 +00:00
  • 88b520b5ab Reformat code using black Rapptz 2022-02-20 06:29:41 -05:00
  • af8e74d327 Allow deferring modal_submit interactions Rapptz 2022-02-20 05:23:09 -05:00
  • 19c6687b55 Add support for Modal Interactions Josh 2022-02-20 19:57:44 +10:00
  • 964ca0a6f1 Add GitHub Actions non-test workflows Devon R 2022-02-20 14:36:31 +09:00
  • 82084709ae JP docs fixes Devon R 2022-02-20 14:18:45 +09:00
  • 015072b7fd Remove wrong import Rapptz 2022-02-19 22:36:34 -05:00
  • 686f233954 Add missing information about in-place edits in Message.edit jack1142 2022-02-20 04:35:52 +01:00
  • 4dbe1af32f Update sphinx and fix documentation issues Josh 2022-02-20 13:35:32 +10:00
  • dede5539ee Add support for editing message attachments Josh 2022-02-20 13:02:53 +10:00
  • 588cda0996 Refactor AsyncIter to use 3.6+ asynchronous generators Kaylynn Morgan 2022-02-20 13:58:13 +11:00
  • dc19c6c7d5 Add positional-only arguments in more places jack1142 2022-02-20 02:28:01 +01:00
  • 19b10eecfe Add message content to the Intents.default docstring Vaskel 2022-02-19 00:15:23 -05:00
  • e14153ddcb Fix nonce being sent even when not specified Rapptz 2022-02-18 23:15:46 -05:00
  • 4e331704ae [commands] Fix typing problems in commands.converter Vaskel 2022-02-18 23:04:56 -05:00
  • 61974411df [commands] Fix issue in PartialMessageConverter._resolve channel Josh 2022-02-19 14:00:52 +10:00
  • de78a1071f Add message content intent application flags jack1142 2022-02-19 03:20:00 +01:00
  • 352dcf9557 Add missing audit log properties Josh 2022-02-19 11:36:51 +10:00
  • de85eacbf5 Remove incorrect note about isinstance check for abc.Connectable jack1142 2022-02-19 02:35:54 +01:00
  • 0b77b52da2 Add support for animated guild banners Maya 2022-02-19 14:28:36 +13:00
  • 338c960c5f Add missing Optional import Vaskel 2022-02-18 20:27:35 -05:00
  • 2e5da07180 Fix unknown DMChannel in MessageReference.resolved.channel Alex Nørgaard 2022-02-19 01:26:13 +00:00
  • cfdccbd5ff Add support for AppInfo.flags Rapptz 2022-02-18 09:00:09 -05:00