Commit Graph

  • 15a6a04622 [tasks] Fix Task.failed() only being True while error handler runs Lilly Rose Berner 2022-04-18 12:22:53 +02:00
  • 5456c0cae9 Add TextInput to Item docstring Willy 2022-04-17 05:28:29 -04:00
  • 9fcb3c8871 [commands] Add overload to run_converters Josh 2022-04-17 19:28:16 +10:00
  • 18a6881fd9 Add NotFound to unban docstring Daniel Grant 2022-04-17 14:19:20 +08:00
  • 1bfe6b2bb1 Fix support for guilds decorator with context menu commands Harmon 2022-04-15 04:00:24 -05:00
  • f9ead92239 [commands] Change Parameters header to Attributes in HybridGroup jack1142 2022-04-15 09:23:56 +02:00
  • 80aa45ed31 [commands] Skip ws before processing arguments in Greedy transformer Rapptz 2022-04-15 03:21:36 -04:00
  • 4fb1309e2a [commands] Mock interaction context prefix Rapptz 2022-04-14 19:12:16 -04:00
  • 89b9f1616c Add self_deaf and self_mute params to voice connect methods Vaskel 2022-04-14 19:06:22 -04:00
  • 862eba1e59 Add filename and description kwargs for to_file Jonah Lawrence 2022-04-14 17:04:05 -06:00
  • 9ff90d7863 Copy internal attributes for command decorator state Rapptz 2022-04-14 17:45:27 -04:00
  • e541be0427 Fix tests from failing Rapptz 2022-04-14 06:46:33 -04:00
  • bc07a02f68 [commands] Fix type hints for hybrid command decorators Rapptz 2022-04-14 05:14:48 -04:00
  • 4951231a7c Remove command parameter from Group.on_error callback Rapptz 2022-04-13 22:45:06 -04:00
  • ce15df4275 [commands] Allow commands.Range inside typing.Union or typing.Optional Rapptz 2022-04-13 22:43:11 -04:00
  • cdf442bc32 Fix signature detection in CommandTree.error decorator Rapptz 2022-04-13 22:30:39 -04:00
  • 3f4fb91328 Change CommandTree.on_error to only take two parameters Rapptz 2022-04-13 22:29:27 -04:00
  • 83fae4f0fa Add CommandTree.clear_commands Rapptz 2022-04-13 22:05:50 -04:00
  • 8a1800bd12 [commands] Add support for setting a fallback slash subcommand Rapptz 2022-04-13 20:30:11 -04:00
  • e9ff6b4be8 [commands] Fix broken documentation references Rapptz 2022-04-13 18:49:39 -04:00
  • 5c61f2af48 [commands] Add ForumChannelConverter to the converter mapping Rapptz 2022-04-13 17:45:54 -04:00
  • 141d9f4c71 [commands] Add ForumChannelConverter converter Rapptz 2022-04-13 17:44:03 -04:00
  • d98ee567d4 Add Guild.forums property Rapptz 2022-04-13 17:31:36 -04:00
  • 7a52aa3764 [commands] Force HybridGroup to always have invoke_without_command Rapptz 2022-04-13 17:14:03 -04:00
  • 49f330b4a3 Fix Thread.jump_url docstring Rapptz 2022-04-13 17:12:44 -04:00
  • b476757720 [commands] Fix type hints for checks, hooks, and error handlers Rapptz 2022-04-13 03:07:58 -04:00
  • 737ff5beaf Update Pyright to 1.1.237 Rapptz 2022-04-13 02:30:00 -04:00
  • a6ce49833c Add jump_url property to Threads Omkaar 2022-04-13 11:30:43 +05:30
  • 242d3f7ab7 [commands] Add Bot.hybrid_group and Bot.hybrid_command decorators Rapptz 2022-04-12 21:07:41 -04:00
  • 0fa9bfc925 Correct order of arguments in View.on_error Snaptraks 2022-04-12 21:15:16 -04:00
  • daa32e3463 Use pyright CI action and remove --verbose from black Rapptz 2022-04-12 20:39:43 -04:00
  • 1931b0eb75 [commands] Ensure hybrid app command receives copied wrapper command Rapptz 2022-04-12 17:45:58 -04:00
  • 393fdde037 [commands] Add support for Greedy for hybrid commands Rapptz 2022-04-12 17:31:07 -04:00
  • 1004cf2059 [commands] Unconditionally replace default if it's set Rapptz 2022-04-12 06:15:56 -04:00
  • 70d2522e7e [commands] Unwrap CommandInvokeError if the cause is CommandError Rapptz 2022-04-12 00:55:38 -04:00
  • 3bb4d3bd6d Allow internal library enums to be used as an annotation Rapptz 2022-04-12 00:18:29 -04:00
  • 65418414ea [commands] Refactor parameter replacement to be less brittle Rapptz 2022-04-11 23:43:11 -04:00
  • 896932faf1 [commands] Add Range converter Rapptz 2022-04-11 21:10:47 -04:00
  • 3c4b22b623 [commands] Fix transformers no longer working as annotation Rapptz 2022-04-11 20:00:50 -04:00
  • 9d05f55ddb [commands] Fix Optional handling when the inner type is a converter Rapptz 2022-04-11 19:18:19 -04:00
  • f072edfdfc [commands] Properly support commands.param in hybrid commands Rapptz 2022-04-11 18:55:57 -04:00
  • fa3a4c109b [commands] Fix Context.reply not working for hybrid commands Rapptz 2022-04-11 18:00:08 -04:00
  • d61561f2e8 [commands] Add support for autocomplete for hybrid commands Rapptz 2022-04-11 00:44:37 -04:00
  • 52fcaed79b [commands] Reassign app_command attribute on copy Rapptz 2022-04-11 00:38:38 -04:00
  • 1232a1d2fd [commands] Properly call after_hooks in hybrid commands Rapptz 2022-04-10 19:05:32 -04:00
  • c1892131a6 [commands] Fix Context docstring missing Interaction ref Rapptz 2022-04-10 19:02:34 -04:00
  • 840eb577d4 [commands] Add initial implementation of hybrid commands Rapptz 2022-04-10 17:14:38 -04:00
  • 151806ec94 Add ForumChannel to Thread.parent_id docstring Steve C 2022-04-12 20:14:20 -04:00
  • 526ed46d7a Add tests for command descriptions Jonah Lawrence 2022-04-12 16:23:26 -06:00
  • 7bf1a7483a Parse command descriptions from docstrings Jonah Lawrence 2022-04-12 14:31:17 -06:00
  • 1e4908b403 Add ForumChannel to abc.GuildChannel docstring Omkaar 2022-04-12 14:25:56 +05:30
  • 348764583d Add jump_url property to channels Omkaar 2022-04-12 09:53:15 +05:30
  • 6265723a35 Add support for archive duration in Guild.create_text_channel I. Ahmad 2022-04-12 02:21:08 +05:00
  • 5892bbd8b4 Allow getting all commands from CommandTree.get_commands NextChai 2022-04-10 23:00:18 -04:00
  • 79bd18f98c Add reason parameter to Thread.edit Vioshim 2022-04-10 21:51:24 -05:00
  • c568ed8cdc Pin Pyright to 1.1.235 Rapptz 2022-04-10 22:49:30 -04:00
  • 29d4c26466 Upgrade WebhookMessage.channel to Thread if available Rapptz 2022-04-10 18:15:02 -04:00
  • 538ba0d076 Update Webhook.channel typing to include VoiceChannel as well Rapptz 2022-04-10 18:11:44 -04:00
  • c284145f18 Add and remove some versionadded directives Rapptz 2022-04-10 17:12:56 -04:00
  • 6a49dfcc0f Fix crash with WEBHOOKS_UPDATE channel_id being nullable Rapptz 2022-04-10 03:47:03 -04:00
  • 95deb55332 Translation-related actions fixes Devon R 2022-04-10 00:00:12 +09:00
  • aee657bca5 [commands] Add converter kwarg to flag z03h 2022-04-08 23:10:32 -07:00
  • 1e914e8945 Document Modal parameter limits Omkaar 2022-04-09 09:28:18 +05:30
  • 4ce60b4cac Documented Embed limits in docstrings Vioshim 2022-04-08 20:53:08 -05:00
  • 723584ca19 Add Permissions.elevated() Narmy 2022-04-07 16:42:57 +02:00
  • 30cc00c9a4 Explicitly specify public threads when creating them in forums Rapptz 2022-04-06 23:27:27 -04:00
  • a8b26b9257 Allow pinning a thread using Thread.edit Rapptz 2022-04-06 23:20:45 -04:00
  • 92eb9d7d8e Fix documentation for ChannelFlags.pinned Rapptz 2022-04-06 23:06:58 -04:00
  • 67a58d10ae Change Fetch -> Retrieve for last_message documentation Rapptz 2022-04-06 23:01:39 -04:00
  • 23f6876492 Add initial support for forum channels Rapptz 2022-04-06 22:42:18 -04:00
  • bc91e1667f Fix typo in Member.timeout docs Willy 2022-04-06 22:11:54 -04:00
  • b8ae05f59f [commands] Fix missing ctx in example Willy 2022-04-06 19:24:17 -04:00
  • f07885973f Provide callback name where applicable in validation Rapptz 2022-04-06 08:56:40 -04:00
  • ad478ff2da [docs] Update PrivilegedIntentsRequired docs apple502j 2022-04-06 17:26:36 +09:00
  • f77078278a Update system_content for channel_follow_add message apple502j 2022-04-06 15:08:20 +09:00
  • 0263774e13 Remove the use of ! in the Member.mention property Alex Nørgaard 2022-04-06 06:05:37 +01:00
  • abeea73734 Fix remaining things not explicitly passing the intents kwarg Rapptz 2022-04-05 23:15:40 -04:00
  • b32b78de45 [commands] Fix missing or inferred type hints in parameters.py Rapptz 2022-04-05 22:47:21 -04:00
  • 76cc2c2272 Require passing intents to Client and its subclasses Rapptz 2022-04-05 22:12:55 -04:00
  • 7770972041 A small grammar fix app_commands.context_menu Vish M 2022-04-05 16:01:55 +01:00
  • c68ea67213 Properly handle inheritance overriding in View subclasses Rapptz 2022-04-05 09:41:48 -04:00
  • 629f36e7d7 [commands] Add fallback behaviour to the default parameter instances Rapptz 2022-04-05 06:40:31 -04:00
  • f15f601779 [commands] Check if an application command starts with bot_ or cog_ Rapptz 2022-04-05 06:06:35 -04:00
  • b823a4bab1 [commands] Only update annotation if an explicit override is given Rapptz 2022-04-05 06:02:28 -04:00
  • c582940401 Remove ancient IDENTIFY key that is no longer used Rapptz 2022-04-05 05:22:00 -04:00
  • dbcdf69eb1 [commands] Raise appropriate exception for no guild found Rapptz 2022-04-04 21:49:11 -04:00
  • 8b50ac8a31 [commands] Don't set a converter for the defaults provided Rapptz 2022-04-04 21:47:03 -04:00
  • 66155faf00 [commands] Fix documentation not being properly formatted Rapptz 2022-04-04 18:10:43 -04:00
  • 55c5be78cf [commands] Implement commands.parameter James Hilton-Balfe 2022-04-04 23:01:21 +01:00
  • deb7958797 Add new on_thread_create event Josh 2022-04-04 21:22:21 +10:00
  • b561024163 Fix WebhookState not handling reaction emoji Rapptz 2022-04-04 00:49:36 -04:00
  • 907d5e0ee7 Document Forbidden exception in CommandTree.sync Rapptz 2022-04-03 22:57:32 -04:00
  • 1458251736 Change View.children to be a property Rapptz 2022-04-03 19:23:57 -04:00
  • d5d9a532b2 Update docs to reflect Text in Voice related changes UltimateSppy765 2022-04-04 03:10:51 +05:30
  • 58db635229 Fix parameter validation in Guild.query_members Rapptz 2022-04-03 08:04:42 -04:00
  • 3ef8f77e81 Add proper nsfw support for vocal guild channels Rapptz 2022-04-03 07:50:10 -04:00
  • 3378435bf0 Update abc.Messageable docs to show VoiceChannel UltimateSppy765 2022-04-03 16:02:40 +05:30
  • 20d2ab96e8 Fix check for when autocomplete is overridden Josh 2022-04-03 19:36:57 +10:00
  • 151948a09a Add autocomplete method to Transformers Josh 2022-04-03 16:32:16 +10:00
  • 86de926678 Print help when no args are provided to python -m discord jack1142 2022-04-03 07:20:55 +02:00