Commit Graph

  • 1b5c206279 Fix broken rename from pyright Rapptz 2021-08-22 03:05:22 -04:00
  • d2dd31de63 Make __main__ template strings private Rapptz 2021-08-22 02:41:27 -04:00
  • d0c295b595 Add explicit type annotation to version_info and reformat Rapptz 2021-08-22 02:38:51 -04:00
  • e1e3e298b5 Typehint async_context global variable Rapptz 2021-08-22 02:37:40 -04:00
  • 4a72201617 Make json conversion functions private Rapptz 2021-08-22 02:35:58 -04:00
  • ea2d972666 Make global log variable in modules private Rapptz 2021-08-22 02:33:51 -04:00
  • 6268cad402 ResponseType type alias is private Rapptz 2021-08-22 02:28:37 -04:00
  • 55f79ed096 Add typing metadata Riley Shaw 2021-08-22 07:25:13 +01:00
  • 4065014794 Add type: ignore for StageInstance.channel Stocker 2021-08-21 16:28:15 -04:00
  • 8d80259a80 Reformat shard.py Rapptz 2021-08-21 14:53:19 -04:00
  • 311eac97b0 Reformat state.py Rapptz 2021-08-21 14:48:22 -04:00
  • d5033b04a2 Don't clear views in READY Rapptz 2021-08-21 14:47:08 -04:00
  • 7592300535 Typehint state.py Stocker 2021-08-21 14:39:02 -04:00
  • 166152647c [commands] Make GroupMixin Generic Josh 2021-08-22 04:35:05 +10:00
  • 6c36df6c11 Add missing typehints for Member properties Arnav Jindal 2021-08-21 23:48:27 +05:30
  • fbc4a51c35 Fix on_typing not dispatching for threads Rapptz 2021-08-20 20:09:18 -04:00
  • 9246bbc8e3 [commands] De-indent after hook call Rapptz 2021-08-20 20:08:27 -04:00
  • fa5a2188bb Copy docs from Client.close() to Bot.close() Willy 2021-08-20 20:06:51 -04:00
  • 5390caa67d Typehint shard.py Stocker 2021-08-20 20:05:02 -04:00
  • 745cf541ea Re-define Member properties inferred from User to support type-checking Josh 2021-08-21 10:02:39 +10:00
  • ef32f6d882 Typehint context_managers.py Stocker 2021-08-20 19:50:39 -04:00
  • b6590d7f56 Add a few typehints to opus.py Stocker 2021-08-19 20:23:35 -04:00
  • b5a717fb80 Fix missing typehint that causes an error for a type checker Stocker 2021-08-19 20:19:24 -04:00
  • f4d5fcc8f9 Add Thread to the return type of Client.get_channel Stocker 2021-08-19 20:18:27 -04:00
  • 1d2eaf8526 [commands] reset view when Optional argument encounters parsing error Sebastian Law 2021-08-19 16:56:28 -07:00
  • f3cb197429 [commands][types] Type hint commands-ext Josh 2021-08-20 09:51:26 +10:00
  • d4c683738d default to 0 instead of 15 for Guild.sticker_limit Nadir Chowdhury 2021-08-19 11:21:52 +01:00
  • 489e5f3288 Use channel default auto archive duration James Gayfer 2021-08-18 02:12:40 -07:00
  • 63434fbfd9 Fix some type hints in user.py Rapptz 2021-08-18 01:59:06 -04:00
  • 68453c7bed Add Thread.members and Thread.fetch_members Rapptz 2021-08-18 01:57:07 -04:00
  • b73f02b9c3 Remove deprecated TextChannel.active_threads for Guild version Rapptz 2021-08-18 01:45:30 -04:00
  • 0df3f51a0b Partially type-hint state.py Rapptz 2021-08-18 01:41:46 -04:00
  • 17f0b59c76 Move explanation note for type ignore above the offending line Rapptz 2021-08-18 01:24:15 -04:00
  • 28ed599345 Fix Template.source_guild typehint Rapptz 2021-08-18 01:23:17 -04:00
  • e79a648987 Add missing typehints to template.py Stocker 2021-08-18 01:17:20 -04:00
  • 79bae47992 flag_value should not be a generic class Bryan Forbes 2021-08-18 00:05:08 -05:00
  • 8fdd1f0d8f [commands] Typehinted errors.py Stocker 2021-08-18 01:03:44 -04:00
  • 3b4c6269be Fix documentation for Message.is_system Rapptz 2021-08-18 01:01:24 -04:00
  • 27debe18ca Update Permissions classmethods to include thread/stage/sticker z03h 2021-08-17 21:46:30 -07:00
  • 8ac5cdc314 Fix Guild.fetch_channel not working for threads la 2021-08-18 13:45:45 +09:00
  • 6b6bcb92e6 Fix missing or broken versionadded in docstrings AkshuAgarwal 2021-08-18 04:45:02 +00:00
  • f7a3ea90b8 Add other message types exclusions to Message.is_system SYCKGit 2021-08-18 10:12:48 +05:30
  • c4ee9dcafa [commands] Return removed cog in Bot.remove_cog thetimtoy 2021-08-17 21:39:54 -07:00
  • 529fad6fec Type-hint user.py thetimtoy 2021-08-17 21:37:33 -07:00
  • 36b9bc8ee3 Add interaction.data to docs Miolus 2021-08-18 06:25:30 +02:00
  • 6587b5c7ea Typehint raw_models.py Stocker 2021-08-18 00:23:16 -04:00
  • feae059c68 Remove coverage note from the documentation and README Rapptz 2021-08-15 14:01:59 -04:00
  • 1e17b7fcea Rename start_thread to create_thread for consistency Rapptz 2021-08-12 00:30:50 -04:00
  • fda543c844 Fix incorrect indent Rapptz 2021-08-11 06:25:22 -04:00
  • 08a4db3961 Revert "Refactor Client.run to use asyncio.run" Rapptz 2021-08-11 02:16:22 -04:00
  • 6e6c8a7b28 Refactor Client.run to use asyncio.run Rapptz 2021-08-10 22:58:02 -04:00
  • f631ed22b6 Clarify StageInstance.discoverable_disabled documentation David 2021-08-11 03:13:10 +01:00
  • a9d9f496f0 Add missing ] in docs for StageInstance.channel MrKomodoDragon 2021-08-10 19:12:36 -07:00
  • dc9c224b54 Undo coercion of partial DMChannel to PartialMessageable Rapptz 2021-08-10 22:10:45 -04:00
  • 1c40d43fd1 Remove unused log lines in HTTPClient Rapptz 2021-08-10 09:28:54 -04:00
  • 66871f329e Interaction.channel can be a PartialMessageable rather than Object Rapptz 2021-08-10 09:28:14 -04:00
  • 1279510194 Add support for PartialMessageable instances Rapptz 2021-08-10 09:24:49 -04:00
  • 4fca699810 Fill in ConnectionState.user via HTTPClient.static_login Gnome! 2021-08-10 13:37:29 +01:00
  • 5e800a726e [types] Add Application Command Type payloads Josh 2021-08-10 22:36:37 +10:00
  • 1418464813 [docs] Fix typo monoue 2021-08-10 21:35:31 +09:00
  • 1c63816cc0 [commands] Document / type-hint cooldown Josh 2021-08-10 22:35:15 +10:00
  • ec32b71ff9 [commands] Document GuildNotFound Aaron Hennessey 2021-08-10 13:34:11 +01:00
  • c628224403 [commands] Add GuildStickerConverter z03h 2021-08-10 05:31:20 -07:00
  • 58ca9e9932 Add TextChannel.default_auto_archive_duration Rapptz 2021-08-02 04:36:02 -04:00
  • 0cc67e58ed Fallback to None message_id searches in View dispatch Rapptz 2021-08-01 03:29:43 -04:00
  • 035d110837 Fix debug event toggle not triggering for raw receive Rapptz 2021-08-01 02:42:11 -04:00
  • b87d306a70 Remove unused variable in view Rapptz 2021-08-01 02:40:11 -04:00
  • e795d341e7 Change View dispatch mechanism to be keyed by message_id as well Rapptz 2021-07-31 23:08:05 -04:00
  • f72350199d Fix typo in TextChannel.start_thread Rapptz 2021-07-31 22:55:32 -04:00
  • b640493300 Add enable_debug_events parameter to enable expensive debug events Rapptz 2021-07-31 20:35:16 -04:00
  • 2de0398d66 Cast removed thread member IDs to int Rapptz 2021-07-31 20:22:51 -04:00
  • e2250d402e Add on_socket_event_type event Rapptz 2021-07-31 20:12:40 -04:00
  • 2cb5ce981e FIx on_thread_member_remove passing in None Rapptz 2021-07-31 19:43:05 -04:00
  • 41f3998a08 Fix on_thread_member_remove not dispatching Rapptz 2021-07-31 19:38:38 -04:00
  • 13a47dfe6e Fix docs for stickers LightSage 2021-07-31 23:40:41 +00:00
  • 8b148afabd Update description of auto_archive_duration kwarg of Thread.edit Willy 2021-07-31 19:40:17 -04:00
  • 3a451c9c65 Change payload to use sticker_ids instead of sticker_items Rapptz 2021-07-30 23:19:25 -04:00
  • 655bf25cc8 Document TypeError raise in lottie sticker Rapptz 2021-07-30 23:18:03 -04:00
  • 6beef898c6 Rename instances of nitro to premium Rapptz 2021-07-30 23:10:36 -04:00
  • 658b61d468 Fix SyncWebhook not working across thread barriers Rapptz 2021-07-30 22:59:03 -04:00
  • 06a371e80a Fix User.accent_color incorrect attribute access nickofolas 2021-07-30 20:30:54 -05:00
  • 608e3b5b6c Rename types.Union -> UnionType for bpo-44732 James 2021-07-31 02:30:25 +01:00
  • d08725b0f0 [commands] Fix NSFW check within threads under NSFW channels marshall 2021-07-31 09:30:10 +08:00
  • 3ad95f3746 [commands] Document dynamic_cooldown Willy 2021-07-30 21:29:40 -04:00
  • 56f800de9c Add Thread to Messageable docstring SYCKGit 2021-07-31 06:57:24 +05:30
  • 8db79d2579 Add Thread.category Arthur 2021-07-31 03:27:10 +02:00
  • 8851e03a6d [commands] fix bot_has_role and is_nsfw for threads z03h 2021-07-30 18:26:49 -07:00
  • 60d82cf908 implement guild stickers Nadir Chowdhury 2021-07-31 02:25:41 +01:00
  • ecf239d2a2 Fix user cache acting incorrectly with evictions Rapptz 2021-07-29 01:43:23 -04:00
  • 0d3bd3083c Add Guild.get_channel_or_thread helper method Rapptz 2021-07-29 01:21:48 -04:00
  • 731a8816bb [commands] Check for ctx.guild instead of abc.GuildChannel Rapptz 2021-07-28 23:53:24 -04:00
  • dac0267e28 Allow creating a public thread without a starter message Rapptz 2021-07-28 23:46:47 -04:00
  • 13251da8ce Use a default value for StageInstance.discoverable_enabled Rapptz 2021-07-28 20:02:45 -04:00
  • 9d25bb454b Fix recursive inheritance in BaseUser Rapptz 2021-07-28 20:01:44 -04:00
  • 0112c2819f Fix PartialMessage rejecting Threads nickofolas 2021-07-28 19:00:43 -05:00
  • 906c13d4f0 Set Thread.member/message_count Nadir Chowdhury 2021-07-29 01:00:30 +01:00
  • a053f77275 Add system_content for thread message types, fix other system_content issues Lilly Rose Berner 2021-07-29 02:00:14 +02:00
  • 51b02f2568 Change type to be compatible with the overwrites property PythonCoderAS 2021-07-28 19:59:38 -04:00
  • ca9b371982 Add support for discord.ui.Select.disabled Lucas Hardt 2021-07-29 01:58:39 +02:00
  • 41e2d3c637 Allow callables in abc.Connectable.Connect Josh 2021-07-29 09:58:01 +10:00