Commit Graph

  • 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
  • 154c90ef59 Add audit log events for threads Nadir Chowdhury 2021-07-29 00:57:42 +01:00
  • 1472e9ed7c Fixes minor grammatical error in Command.update Stocker 2021-07-28 19:56:36 -04:00
  • 85f3e11ef1 Fix Example Usage in docs AkshuAgarwal 2021-07-28 23:56:12 +00:00
  • 67026809a8 Fix EqualityComparable.__eq__ typing Gnome! 2021-07-29 00:55:19 +01:00
  • dd8168f902 Fix a typo within the documentation xPolar 2021-07-28 16:54:58 -07:00
  • 96b9a0e09d Add reason kwarg to more methods Nadir Chowdhury 2021-07-29 00:54:32 +01:00
  • c059d43e98 Add Number type (10) to Application Command Option types Josh 2021-07-29 09:53:58 +10:00
  • 78aea51f50 Add an example for the new dropdowns Robin5605 2021-07-28 18:53:06 -05:00
  • b47133dfb2 Add BaseUser.banner for all subclasses to access new banners Alex Nørgaard 2021-07-29 00:41:43 +01:00
  • fc51736b34 Add a new view example for link buttons Ay355 2021-07-22 07:02:42 -07:00
  • 23852404ed Fix incorrect typehint in send_message Willy 2021-07-21 02:52:51 -04:00
  • 980d6abbea Fix typo in commands documentation AXVin 2021-07-21 12:22:33 +05:30
  • bc75945088 Add format_dt to utils __all__ Vaskel 2021-07-21 02:52:06 -04:00
  • dd5fc656d9 Fix permissions_for for roles z03h 2021-07-20 23:51:46 -07:00
  • 8675a18185 [commands] Remove unused copy import in Cog thetimtoy 2021-07-20 23:48:11 -07:00
  • a0e5e062c9 Add versionadded to ui.View and ui.Item scrazzz 2021-07-21 09:47:52 +03:00
  • 07483297ad Fix typo in UserFlags.has_unread_urgent_messages Sebastian Law 2021-07-20 23:47:36 -07:00
  • 48eb981344 Fix Thread.slowmode_delay not updating z03h 2021-07-20 23:47:15 -07:00
  • feed302269 Fix documentation note for interaction_check Kaylynn Morgan 2021-07-21 16:46:52 +10:00
  • 262a50196d fix typo in ephemeral function definition Nadir Chowdhury 2021-07-21 07:46:39 +01:00
  • 15eb3d2e5d Remove afk parameter from change_presence Aaron Hennessey 2021-07-21 07:45:57 +01:00
  • 0faf4c8e2b Stricter type hint in releaselevel Ryu JuHeon 2021-07-21 15:45:21 +09:00
  • 5b8be9a772 Add PartialMessage to list of allowed message reference types Lilly Rose Berner 2021-07-21 08:45:01 +02:00
  • 834e23dc00 Fix type annotations for purge's limit param on Thread/TextChannel Steve C 2021-07-21 02:44:27 -04:00
  • 26e68b31ef [commands] fix incorrect typings in ThreadConverter Alex Nørgaard 2021-07-21 07:43:37 +01:00
  • f14e584304 Sync Guild.features to documentation Nadir Chowdhury 2021-07-10 08:13:14 +01:00
  • e2624b9a31 [commands] Fix (Partial)MessageConverter to work with thread messages Nadir Chowdhury 2021-07-10 08:11:34 +01:00
  • f153154b7a Undocument Item.width Rapptz 2021-07-09 09:13:46 -04:00
  • 1a4e73d599 [commands] Get guild_id from message link for message converters Rapptz 2021-07-09 08:19:56 -04:00
  • 0aa825557d Re-try requests on 504 error and raise correct error Lilly Rose Berner 2021-07-09 10:54:22 +02:00
  • 8fb998b599 Refactor utcfromtimestamp to use fromtimestamp(..., tz=utc) Rapptz 2021-07-09 04:20:45 -04:00
  • 826ce101fd Change WEBHOOK_UPDATE to use guild information from gateway Rapptz 2021-07-08 21:53:26 -04:00
  • b4e39668fb Change CHANNEL_PINS_UPDATE to use guild information from gateway Rapptz 2021-07-08 21:51:21 -04:00
  • af8742a911 Use a specific tag type for member and user comparisons Rapptz 2021-07-08 10:17:44 -04:00
  • 8df35c83a9 Remove extraneous dict assignment from view store Rapptz 2021-07-07 20:14:26 -04:00
  • 74e1ab09a0 Remove channel type coercion in factory methods Rapptz 2021-07-05 22:13:10 -04:00
  • 03cd6ff433 Remove calls to gc.collect in ConnectionState Rapptz 2021-07-05 21:41:32 -04:00
  • 99b8ae35ba Change _Overwrite to get dict entries rather than mutate Rapptz 2021-07-05 21:32:46 -04:00
  • cb2363f0fd Move global user storage from WeakValueDictionary to dict Rapptz 2021-07-05 21:01:40 -04:00
  • 88d825a803 Allow use of orjson instead of json Rapptz 2021-07-05 04:01:19 -04:00
  • e0a9365d61 Type-hint backoff.py Josh 2021-07-08 10:17:17 +10:00
  • 717e723a36 Update intents docs to reflect presence update changes apple502j 2021-07-08 09:16:17 +09:00
  • 1ca5b7b8b2 [commands] update clean_content to work when standalone z03h 2021-07-07 17:15:54 -07:00