Commit Graph

  • 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
  • 5ffa3e85de Update comments after # type: ignore to be compatible with PEP 484 jack1142 2022-03-28 04:26:34 +02:00
  • 0bcb0d0e3c Allow context menus have ? and ! in their name Puncher 2022-03-27 05:41:05 +02:00
  • 7362a2582c Fix InvalidArgument typo in Webhook.edit chromacoat dreamkey 2022-03-27 09:21:37 +08:00
  • dd3536be63 Fix typo in Member.edit documentation chromacoat dreamkey 2022-03-27 09:21:15 +08:00
  • 80e42d139c Add missing types for two permissions in PermissionOverwrite I. Ahmad 2022-03-27 06:20:46 +05:00
  • 8993b7f5fe Add cover_image to AuditLogDiff z03h 2022-03-26 05:48:02 -07:00
  • 985f5732c0 Refactor ContextMenu constructor to allow app command type inferring Rapptz 2022-03-25 09:11:11 -04:00
  • cda1f0a4ef Allow receiving messages from voice channels Haruka 2022-03-25 15:24:19 +07:00
  • 816d2176e9 Ignore type error already handled by exception handling Rapptz 2022-03-24 23:50:47 -04:00
  • 8591cfc5e7 Run black on all examples and require it for CI Rapptz 2022-03-24 23:39:50 -04:00
  • 968a1f366f Change View callback order to (self, interaction, item) Rapptz 2022-03-24 23:00:50 -04:00
  • f26d3a7155 Add interaction check to command tree James Gayfer 2022-03-24 19:32:56 -07:00
  • 2d1cbacc58 [commands] Add tree_cls to Bot constructor Josh 2022-03-25 12:32:31 +10:00
  • 6d494585f5 Correct documentation for TextInput.custom_id UltimateSppy765 2022-03-24 04:08:22 +05:30
  • 181fc42b9b Remove outdated note and example I. Ahmad 2022-03-23 13:19:55 +05:00
  • e9ed231a03 Allow Transformer.transform to be synchronous as well. Rapptz 2022-03-22 22:44:42 -04:00
  • 1f3aa377c3 Wrap non-AppCommandError exceptions with TransformerError Rapptz 2022-03-22 19:07:22 -04:00
  • b0501e56a0 Fix PermissionOverwrite.update typing not allowing None Rapptz 2022-03-22 18:55:42 -04:00
  • 062f4d6f87 Change some methods to use positional-only marker Bryan Forbes 2022-03-22 17:52:25 -05:00
  • c6d113c843 Change PUBLIC to COMMUNITY in Guild.edit curiositIy 2022-03-22 14:11:43 -08:00
  • 7a815a97af Fix audit logs for INVITE_CREATE returning None Alex Nørgaard 2022-03-22 22:04:52 +00:00
  • eca4727593 [commands] Add missing and fix existing type annotations Stocker 2022-03-22 06:04:46 -04:00
  • 46b3e036e2 [commands] Fix help error/invoke hooks not running Josh 2022-03-22 20:02:52 +10:00
  • 7851084b63 Revert "Crowdin translations download" Rapptz 2022-03-21 22:53:45 -04:00
  • 414759f372 Crowdin translations download github-actions[bot] 2022-03-21 16:47:15 -04:00
  • 84c38f1f22 Ignore errors if it's already handled in app commands Rapptz 2022-03-21 03:58:18 -04:00
  • f7c664e3e2 Add error handler support for context menus Rapptz 2022-03-21 03:56:28 -04:00
  • 97fe07edb2 Update migration guide with change to Message.channel_mentions type jack1142 2022-03-21 06:12:34 +01:00
  • 5202956f97 Update migration guide with loop-related changes to Client's constructor jack1142 2022-03-21 06:12:20 +01:00
  • cf2707b2fb Propagate thread_id in webhook message methods Rapptz 2022-03-20 19:43:51 -04:00
  • 6dc314628e Make guild and guilds args in Bot.remove_cog() keyword-only jack1142 2022-03-21 00:01:37 +01:00
  • 5fa32540a4 Change Message to subclass PartialMessage Stocker 2022-03-20 15:18:24 -04:00
  • 515d17405a Fix typos in some View methods' docstrings chromacoat dreamkey 2022-03-21 00:59:23 +08:00
  • 4dc24a005a Fix typo in PartialMessageable docstring I. Ahmad 2022-03-20 13:11:35 +05:00
  • 58c1e8fabf Remove unnecessary exported variables thetimtoy 2022-03-19 23:58:48 -07:00
  • d55f8d38ad Add PartialMessageable.__repr__ jack1142 2022-03-20 07:58:29 +01:00
  • 7389707847 Only send allowed_mentions if content changed BeatButton 2022-03-20 00:55:48 -06:00
  • 2876622f84 Fix typo in app command check documentation Rapptz 2022-03-19 15:48:00 -04:00
  • 1b70fad5ec [commands] Fix exceptions in HelpCommand Josh 2022-03-20 03:14:17 +10:00
  • fafc5b13f6 [commands] Rework help command to avoid a deepcopy on invoke Josh 2022-03-19 20:34:19 +10:00
  • 94f4da9248 Change View child mutators to be fluent-style methods Pat 2022-03-19 16:48:50 +08:00
  • 5d6905a1bc Update clean_content/channel_mentions for threads z03h 2022-03-19 01:46:55 -07:00
  • 195c923bec Fallback to Object if the type is not resolved in namespace Rapptz 2022-03-19 01:37:00 -04:00
  • bea6b815e2 Add support for app command checks Rapptz 2022-03-19 01:01:30 -04:00
  • 5f7c5abe0a Change ban type hints to use int instead of Literal Rapptz 2022-03-18 21:45:15 -04:00
  • 13d19dc5ce Fix typo in http_trace parameter documentation will 2022-03-18 21:49:24 +07:00
  • 77ec49782a Add http_trace option in Client to trace the library's HTTP requests Rapptz 2022-03-18 08:02:53 -04:00
  • 4a76464ac9 Fix return value of Guild.chunk Rapptz 2022-03-18 07:37:28 -04:00
  • 8d86ee3fe3 Fix mention_author suppressing all mentions z03h 2022-03-17 22:52:11 -07:00
  • 02b79eb219 [commands] Change BotT to be covariant Rapptz 2022-03-18 01:12:50 -04:00
  • 98a31cf285 Change autocomplete callbacks to only take two parameters Rapptz 2022-03-17 10:11:04 -04:00
  • d2f6b05c43 Fix missing List -> Sequence typehint in interaction message edit Rapptz 2022-03-17 10:00:03 -04:00
  • f5341a1cfa Document cases where setup_hook can deadlock rather than raising Rapptz 2022-03-17 09:56:25 -04:00
  • 202b993da3 Add Interaction.command and Interaction.namespace attributes Rapptz 2022-03-17 09:45:21 -04:00
  • 3c6daff473 Change default ellipsis descriptions to use U+2026 Rapptz 2022-03-17 07:37:33 -04:00
  • 70470753cd Update images in bot creation guide Omkaar 2022-03-17 16:57:56 +05:30
  • caf2000fe8 Add missing annotation for ThreadMember.id Stocker 2022-03-17 07:27:13 -04:00