Commit Graph

  • 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
  • 18050aecd7 Fix broken code blocks in docstrings Puncher 2022-04-02 23:57:33 +02:00
  • 0dbebf87b2 Fix TextChannel.archived_threads docstring Puncher 2022-04-02 22:21:55 +02:00
  • 298bd7492c Run pyright as part of the CI process Rapptz 2022-04-02 11:47:34 -04:00
  • 52e16573f5 Remove unused imports and make exports explicit Rapptz 2022-04-02 11:38:39 -04:00
  • f7a79ff8d7 Avoid calling PartialMessage.__init__ in Message.__init__ Rapptz 2022-04-02 11:15:54 -04:00
  • 2aca705b95 Add support for sending messages and managing webhooks in VoiceChannel Rapptz 2022-04-02 11:10:14 -04:00
  • b049cf77f2 Add reason to Thread.delete_messages and Thread.purge Rapptz 2022-04-02 10:36:39 -04:00
  • 994660faad [commands] Fix unknown generic type in tree_cls Rapptz 2022-04-02 05:52:51 -04:00
  • 0f18d93e47 Remove unused imports Kellen 2022-04-02 02:58:39 -06:00
  • 01e2c69b20 Add tests for validating command signature mismatch error handling Josh 2022-04-02 18:57:05 +10:00
  • d600436378 [types] Use PEP-655 style Required/NotRequired types Josh 2022-04-02 15:46:10 +10:00
  • b1878224f2 Fix capitalizations and typo in migrating guide will 2022-04-02 12:26:39 +07:00
  • 7696342d76 Add missing __slots__ to MessageInteraction Rapptz 2022-04-02 01:24:49 -04:00
  • 26ac844a04 Fix typo in migrating guide for Client.on_error Chrovo 2022-04-02 00:06:39 -04:00
  • 3d914e08e0 [commands] Add Context.current_argument jack1142 2022-04-01 22:24:14 +02:00
  • 5c14149873 Fix filename spoiler stripping method Rapptz 2022-04-01 15:25:03 -04:00
  • f47568ee71 Document Guild.bans breaking change in the migrating guide Rapptz 2022-04-01 11:47:27 -04:00
  • e79895d824 Add Message.interaction and MessageInteraction type Rapptz 2022-04-01 11:15:15 -04:00