Commit Graph

  • 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
  • 3cb539d91b [commands] Document the thread converter ToxicKidz 2021-07-07 20:15:18 -04:00
  • 5a7cfb3ce6 [commands] Add ThreadConverter Alex Nørgaard 2021-07-05 05:40:57 +01:00
  • c1c6457598 Separate member_update and presence_update events Rapptz 2021-07-04 21:40:30 -04:00
  • c2acb0a114 Update README to point to 3.8 requirement Rapptz 2021-07-04 21:26:27 -04:00
  • feb0f7f29d Add SelectOption.__str__ Rapptz 2021-07-04 21:19:09 -04:00
  • 7598865609 Fix typo in stage_instance.py Aaron Hennessey 2021-07-05 00:14:33 +01:00
  • f40f80c0dc Fix typo in voice_client.py Josh 2021-07-05 09:14:07 +10:00
  • 49f8073262 Fix Permission serialisation in audit logs Rapptz 2021-07-04 19:13:21 -04:00
  • 750ba88f2c Fix typing errors with Client Rapptz 2021-07-04 07:55:20 -04:00
  • 074f34a5fa Specify View timeouts is in seconds Rapptz 2021-07-04 07:07:38 -04:00
  • 7d9074db8a Fix type errors and potentially unbound code in http.py Rapptz 2021-07-04 06:08:58 -04:00
  • 4152819a3c Ignore linting error when accessing Python 3.10 unions Rapptz 2021-07-04 05:55:29 -04:00
  • 5d798aa5e6 Fix some typing errors and reformat enums.py Rapptz 2021-07-04 05:29:34 -04:00
  • 828e47d83f Document on_thread_join also applying to thread creation Rapptz 2021-07-04 04:50:07 -04:00
  • 23a69144b6 Add a warning in on_interaction Rapptz 2021-07-04 03:06:22 -04:00
  • d047cebc35 [commands] Remove window reassignment when tokens reach 0 Rapptz 2021-07-04 03:05:06 -04:00
  • c748e4bce5 Mention ephemeral messages can only be edited with raw method Rapptz 2021-07-03 21:45:09 -04:00
  • d1dc41ec2f Fix Client.fetch_channel not returning Thread Alex Nørgaard 2021-07-04 02:35:31 +01:00
  • 097b6064f1 Fix ui.Button constructor default style to match the decorator Rapptz 2021-07-03 21:29:12 -04:00
  • 17268c3368 Add MessageFlags.ephemeral Rapptz 2021-07-03 21:28:49 -04:00
  • 6a553b2347 Fix building docs due to missing InteractionMessage in __all__ Alex Nørgaard 2021-07-03 18:24:57 +01:00
  • 93cc1bdd79 Fix typing errors in PartialEmoji Rapptz 2021-07-03 11:52:38 -04:00
  • 8b4dd34328 Document TextChannel.start_thread return type Rapptz 2021-07-03 11:48:41 -04:00
  • 3d0dd5bc1b Change Message.__repr__ to show inherited type name Rapptz 2021-07-03 11:02:32 -04:00
  • 0b577fa209 Add support for fetching the original interaction response message Rapptz 2021-07-03 11:00:48 -04:00
  • be5603141e Remove slots from flags Rapptz 2021-07-03 10:52:35 -04:00
  • bba4d6c4e4 Fix typo with exception name in InteractionResponse Rapptz 2021-07-03 08:49:07 -04:00
  • 9f981e718b Mention the discord.ui types in the read-only component types Rapptz 2021-07-03 08:38:05 -04:00
  • 88620d052a Typehint permissions Rapptz 2021-07-03 08:30:27 -04:00
  • 8760b01e76 Add Interaction.permissions to get resolved permissions Rapptz 2021-07-03 07:07:54 -04:00
  • 12e90f9c6d Type hint instance variables in interactions Rapptz 2021-07-03 06:56:30 -04:00
  • a8db8546db Typehint error.py Rapptz 2021-07-03 00:53:30 -04:00
  • 0fae0b4995 Use "raised" instead of "thrown" for exception documentation Rapptz 2021-07-03 00:35:21 -04:00
  • 7ca90874b9 Raise an exception if an interaction has been responded before Rapptz 2021-07-03 00:30:32 -04:00
  • b7b75e2b1f Add Thread.is_nsfw Alex Nørgaard 2021-07-03 05:14:48 +01:00
  • ffa0b26b82 Fix versionadded on ChannelType.private_thread Alex Nørgaard 2021-07-03 03:05:27 +01:00
  • 1059c02df7 Update examples of interactions to mention components jack1142 2021-07-03 03:58:06 +02:00
  • d7ed884593 Rework view timeouts to work as documented Rapptz 2021-07-02 09:17:32 -04:00
  • a3d7e06f25 [commands] Add back CommandOnCooldown.type Rapptz 2021-07-02 05:39:54 -04:00