Commit Graph

  • 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
  • a5f1c2f592 Take into consideration member timeouts in permission calculations Rapptz 2022-04-01 09:32:54 -04:00
  • 25ad5b675c Ensure explicitly set parents on nested groups are respected Rapptz 2022-04-01 09:04:44 -04:00
  • c671308211 Validate app command parameter renames Rapptz 2022-04-01 07:02:37 -04:00
  • 6986733833 Revert "Validate Option names similar to slash command names" Rapptz 2022-04-01 06:58:11 -04:00
  • ca9fd355e8 Fix typo in Guild.bans docstring Rapptz 2022-04-01 00:26:21 -04:00
  • 9acf1db076 Support ban endpoint pagination Rapptz 2022-04-01 00:07:54 -04:00
  • 6ef2043b10 Validate Option names similar to slash command names Rapptz 2022-03-31 23:21:42 -04:00
  • 5096846c4e Allow None to be passed for Member.timeout Rapptz 2022-03-31 23:14:41 -04:00
  • 24f8f8d4a7 Rename MaxCommandsReached to CommandLimitReached Rapptz 2022-03-31 23:10:13 -04:00
  • a0618ef791 Clarify documentation certain tree methods Rapptz 2022-03-31 10:31:43 -04:00
  • 2010b42f6a [docs] Fix capitalization typo in spoiler parameter documentation will 2022-03-31 21:21:08 +07:00
  • 34b2ff40b6 Change ValueError on max commands reached to a more specific exception Rapptz 2022-03-31 09:34:48 -04:00
  • c11363f037 Rework File.spoiler to synchronise with the filename Josh 2022-03-31 23:18:36 +10:00
  • 705c79df59 Remove second mapping used for parameter rename lookup Rapptz 2022-03-31 08:58:53 -04:00
  • dfc92c223c Fix application commands not always sending the proper parameter name Rapptz 2022-03-31 08:55:20 -04:00
  • 170ab7b2bb Improve error when an invalid slash command name is given Rapptz 2022-03-31 04:12:09 -04:00
  • 29668c51ae [commands] Revert back to older help command implementation Rapptz 2022-03-31 02:42:17 -04:00
  • b4fbb08818 Allow runtime modification of timeout expiry at runtime Rapptz 2022-03-31 01:31:26 -04:00
  • e80be19c4d Add to_file for assets and emojis Jonah Lawrence 2022-03-30 23:34:02 -06:00
  • 1372ef407c Keep description in Attachment.to_file Jonah Lawrence 2022-03-30 22:29:34 -06:00
  • 06c257760b Update types to use Awaitable where possible Bryan Forbes 2022-03-30 21:00:24 -05:00
  • ff24c5229e Add iterator special method for Namespace Rapptz 2022-03-30 21:45:30 -04:00
  • caac97c0d1 Allow empty iterables as a command_prefix Jonah Lawrence 2022-03-30 18:07:44 -06:00
  • b1fb5ed3d7 Fix autocomplete not working with renamed parameters Rapptz 2022-03-30 19:46:27 -04:00
  • 37bbfdce95 Add context_menu_command Message type Jonah Lawrence 2022-03-30 17:13:00 -06:00
  • 0a8065606a Update parent reference of Group children Bryan Forbes 2022-03-30 18:12:39 -05:00
  • 15bd93a9f9 Update README code example Gakuto Furuya 2022-03-31 07:33:09 +09:00
  • e515378076 Remove annotation on row property in subclasses Rapptz 2022-03-29 23:01:26 -04:00
  • 3215cb65e2 Raise if custom_id is not a str Rapptz 2022-03-29 22:59:12 -04:00
  • b7b992375d Add examples for new cooldown checks Rapptz 2022-03-29 06:00:20 -04:00
  • 55695dab3c [commands] Check for None max_concurrency z03h 2022-03-29 01:49:37 -07:00
  • 4fd2d5fdfd Remove redundant imports and variables Kellen 2022-03-29 00:50:34 -06:00
  • f5acd9e8b6 [commands] Add Command.cooldown property ImNimboss 2022-03-29 12:20:04 +05:30
  • 9f83eb6032 Add application command cooldown decorators Rapptz 2022-03-29 00:46:42 -04:00
  • 74b5e0ceb1 Implement some built in checks for app_commands Rapptz 2022-03-28 15:55:29 -04:00
  • 8524bfb54d Fix caching of UnionType instead of resolved typing.Union Bryan Forbes 2022-03-28 15:24:03 -05:00
  • 9012c424bf Replace - with # in # type: ignore comments in rename decorator Ryu juheon 2022-03-28 22:28:01 +09:00
  • ae1979d17a [commands] Add note for command tree in Bot's docstring I. Ahmad 2022-03-28 18:19:27 +05:00
  • c6d0c82d66 Implement app_commands.rename decorator Nadir Chowdhury 2022-03-28 10:52:33 +01:00
  • def035bf9a Remove StoreChannel and any references to it Rapptz 2022-03-27 23:48:08 -04:00
  • 0a7eb6b021 Only verify if context menus pass a length check Rapptz 2022-03-27 23:32:36 -04:00
  • daeb0afe61 Add missing space in task example kittenswolf 2022-03-28 04:27:10 +02:00
  • 40bab465a5 Remove user account reference in docstring pikaninja 2022-03-27 19:26:49 -07:00