Commit Graph

  • 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
  • 982140b5f7 [commands] Mention that dynamic_cooldown callable can return None Rapptz 2021-07-02 05:35:38 -04:00
  • 69c400d813 Add Thread.mention Rapptz 2021-07-01 20:50:56 -04:00
  • 9ac459b5d3 Add a default style for buttons Rapptz 2021-07-01 20:45:38 -04:00
  • 4f0e907e44 Add ButtonStyle.url alias for ButtonStyle.link Rapptz 2021-07-01 20:42:56 -04:00
  • 812bfbe6f9 Show Select.values more prominently in the documentation Rapptz 2021-07-01 20:33:57 -04:00
  • 64b48431b4 Add type property to thread channels Alex Liu 2021-07-01 17:27:39 -07:00
  • 30605e6f4f Add Select to list of types in Item's docstring jack1142 2021-07-01 13:50:04 +02:00
  • 2d597e310b Fix Interaction.channel being None in threads Nadir Chowdhury 2021-07-01 12:49:44 +01:00
  • d001b9d0ee [docs] Fix more references Josh 2021-07-01 21:48:37 +10:00
  • ed6c061d69 [commands] Fix guild channel converters to work in DMs Rapptz 2021-07-01 07:46:02 -04:00
  • 12e3eba011 Add Select to the docs Rapptz 2021-06-30 03:54:30 -04:00
  • c1f1c67eed Change timeout parameter in View.from_message to keyword only Rapptz 2021-06-30 03:12:44 -04:00
  • cd4b0904db Change NamedTuple in __init__.py Arnav Jindal 2021-06-30 12:42:40 +05:30
  • d8075d5412 Add View.from_message to convert message components to a View Rapptz 2021-06-30 03:06:51 -04:00
  • 157caaec7c Add conversion routine for SelectMenu to ui.Select Rapptz 2021-06-30 02:55:03 -04:00
  • 62dad0f7bf Fix potential None access in various StageChannel properties Rapptz 2021-06-30 01:31:57 -04:00
  • 1aeec34f84 Typehint Member and various typing fixes Rapptz 2021-06-30 01:28:35 -04:00
  • 44d1d29708 Add explicit types to variables in Message types Rapptz 2021-06-29 23:55:19 -04:00
  • ea1d423904 Check for None in VocalGuildChannel.voice_states Rapptz 2021-06-29 23:16:39 -04:00
  • 6f3b8072d6 Rework User.edit to have proper typing Rapptz 2021-06-29 22:05:29 -04:00
  • 2d7c709235 Rework Role.edit to not rely on previous role state Rapptz 2021-06-29 22:02:16 -04:00
  • a372aadb2d Rework Member.edit to not use kwargs for better typing Rapptz 2021-06-29 21:54:24 -04:00
  • 53ef89c29f Use a property for StreamIntegration.expire_behavior alias Rapptz 2021-06-29 21:46:19 -04:00
  • c6a69062a8 Rework StreamIntegration.edit to not rely on state Rapptz 2021-06-29 21:45:06 -04:00
  • 62b024803a Mock PartialTemplateState._get_guild as pass-through Rapptz 2021-06-29 21:35:00 -04:00
  • b1a355394f Rework Template.edit to use MISSING sentinel Rapptz 2021-06-29 21:33:57 -04:00
  • 39a674ddee Fix typing of ApplicationCommandInteractionDataOption Josh 2021-06-30 11:29:24 +10:00
  • abac04b759 Fix link buttons not being regarded as persistent Nadir Chowdhury 2021-06-30 01:03:50 +01:00
  • 7d0bd7ed20 add persistent view in on_ready to avoid loop issues Nadir Chowdhury 2021-06-30 01:02:55 +01:00
  • 7601d6cec3 [typing] Type-hint client.py Josh 2021-06-30 10:02:19 +10:00
  • 7386a971f8 Add examples for how to use views Rapptz 2021-06-29 04:17:20 -04:00
  • 2beee8be14 Type hint channel.py Rapptz 2021-06-29 03:37:52 -04:00
  • eda02c2e91 [types] VoiceChannel and StageChannel bitrate/user_limit is not null Rapptz 2021-06-29 02:45:01 -04:00
  • 485542c480 Fix typing linting error in threads Rapptz 2021-06-29 02:26:07 -04:00
  • a2b10a08b9 Fix KeyError due to refactoring mistake in Overwrite handling Rapptz 2021-06-28 23:51:56 -04:00
  • 55c7de82d3 Type and format abc.py Rapptz 2021-06-28 23:34:08 -04:00
  • f9bccabac5 Make Asset.with_ functions positional only Rapptz 2021-06-28 21:55:41 -04:00
  • d9adf4d35d Make Asset.replace only accept keyword arguments Rapptz 2021-06-28 21:55:02 -04:00
  • f7d551953b Remove extraneous __slots__ assignments Rapptz 2021-06-28 21:50:08 -04:00
  • 6b1d46a1ea Set Message.guild from guild_id if unavailable through Message.channel Lilly Rose Berner 2021-06-29 01:03:59 +02:00
  • e96df33ce0 Dispatch thread_join when a thread is updated but not in cache Rapptz 2021-06-28 18:56:28 -04:00
  • e3a66bcccc Fix property CSS to be more inline with everything else Rapptz 2021-06-28 04:16:51 -04:00
  • 039bb9f871 Move documentation CSS after CSS block Rapptz 2021-06-28 03:44:07 -04:00
  • 2ce44f7bd6 Add versionadded for format_dt Rapptz 2021-06-28 03:36:16 -04:00
  • 3c5c5fc274 Update documentation in voice_client.py scrazzz 2021-06-28 10:10:33 +03:00
  • d1a2ee4620 Add discord.utils.format_dt helper function Rapptz 2021-06-28 01:30:56 -04:00
  • a75cd93acc Fix Guild.vanity_invite causing an error when guild has it unset Rapptz 2021-06-28 01:03:46 -04:00
  • 5acea453cc Type-hint voice_client / player Josh 2021-06-28 14:59:14 +10:00
  • cd6b453cb3 Typehint Activity Rapptz 2021-06-28 00:56:28 -04:00
  • 4566b64d77 Fix Activity and Spotify datetime being timezone naive Rapptz 2021-06-28 00:37:16 -04:00
  • b1836c5577 Rework Message.edit implementation Rapptz 2021-06-28 00:33:59 -04:00
  • 75477b2995 Fix incorrect typehints in Guild.create_role RobotHanzo 2021-06-28 12:05:40 +08:00
  • 2cd2d1d3ee [commands] Rename missing_perms to missing_permissions Izhar Ahmad 2021-06-28 09:05:08 +05:00
  • f7b0ed7b12 Add ButtonStyle.gray alias Nadir Chowdhury 2021-06-28 05:01:13 +01:00
  • b59ec318c0 Fix Category.create_x_channel raising without overwrites Lilly Rose Berner 2021-06-28 06:00:51 +02:00
  • 6ce1c537d4 Localize Embed.timestamp during assignment thegamecracks 2021-06-28 00:00:17 -04:00
  • caa9512a8a Make on_ready examples consistent pikaninja 2021-06-27 20:59:17 -07:00
  • 47e6a754e4 Add support for sending multiple embeds Aomi Vel 2021-06-28 12:52:48 +09:00
  • 8b7e5a50b4 Add discord.Spotify.track_url quiprr 2021-06-27 20:48:04 -07:00
  • 1a3422dccc Handle role_id possibly being None for StreamIntegration Harmon 2021-06-27 22:46:14 -05:00
  • 233d10649c [docs] Update Sphinx and Fix various references Josh 2021-06-28 13:43:49 +10:00