Commit Graph

  • 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
  • e01d4a31eb Replace invariant container types with wider types where applicable Josh 2022-03-17 21:26:01 +10:00
  • 3e77a7b29e Forbid wait_until_ready inside setup_hook apple502j 2022-03-17 20:25:10 +09:00
  • c77bbc4dcf Move with_counts parameter documentation where it belongs Rapptz 2022-03-16 07:43:31 -04:00
  • 5b8bcaff73 Validate and bind parent in Group.add_command Rapptz 2022-03-16 07:31:40 -04:00
  • 7c0a9e901d Fully initialise asyncio state in __aenter__ Rapptz 2022-03-16 05:51:25 -04:00
  • 575eacb1bf Change loop sentinel error to not use a tuple Rapptz 2022-03-16 05:50:28 -04:00
  • 1fba54ce97 Reword DeletedMessageReference docstring to be clearer Rapptz 2022-03-16 05:12:26 -04:00
  • 1192d842e1 Fix some type checker errors and remove some type ignores Rapptz 2022-03-16 01:46:58 -04:00
  • 6d75d2e937 Fix unnecessary type ignores in gateway Rapptz 2022-03-16 01:19:45 -04:00
  • d2b69ce19a Downgrade unnecessary type ignore into a warning instead of error Rapptz 2022-03-16 01:01:18 -04:00
  • 380e9118d5 Temporarily change Crowdin upload to be a manual workflow dispatch Rapptz 2022-03-16 00:42:06 -04:00
  • 61577677cd Fix Guild.fetch_members limit parameter typing to be Optional Rapptz 2022-03-16 00:39:05 -04:00
  • caf1c6eae4 Fix overload in StoreChannel Rapptz 2022-03-16 00:13:39 -04:00
  • 446c502995 Change lowercase detection to work with CJK languages Rapptz 2022-03-15 23:37:43 -04:00
  • fd5dea4e34 Update Permissions.stage_moderator Stocker 2022-03-15 23:33:11 -04:00
  • 2d28d7b765 Add Crowdin actions Devon R 2022-03-16 01:28:29 +00:00
  • 26457b6d50 Remove automatic defer behaviour from View and Modal Rapptz 2022-03-15 10:29:58 -04:00
  • e5461c73b6 [commands] Check if any base in a Cog is a subclass of Group z03h 2022-03-15 06:50:49 -07:00
  • beafaa8a8b Change intent comments to be consistent in the examples Omkaar 2022-03-15 17:08:34 +05:30
  • c28c3f4440 Keep comments consistent with other before/after comments LightSage 2022-03-15 06:25:35 -05:00
  • 8ced1143e3 Change missing application ID error to be more descriptive Rapptz 2022-03-15 07:22:44 -04:00
  • 27dd986858 Forbid Choice annotations being used with autocomplete parameters Rapptz 2022-03-15 07:09:41 -04:00
  • 698d1e12a1 Add CommandTree.error decorator to set on_error dynamically Rapptz 2022-03-15 06:52:11 -04:00
  • 2bf612cd67 Fix Client.close erroring if done before proper async initialisation Rapptz 2022-03-15 06:51:19 -04:00
  • 20aa6f866d Fix CommandTree removal and getter overloads Rapptz 2022-03-15 03:32:19 -04:00
  • f015b59e43 Add CommandTree.walk_commands and Group.walk_commands Rapptz 2022-03-15 03:16:09 -04:00
  • 5bc085ebab Properly set root parent before copying a command's binding Rapptz 2022-03-15 03:15:07 -04:00
  • ca4db68686 Fix grammar issue for Message.add_reaction docs ChesterWOV 2022-03-15 10:51:28 +08:00
  • aa006f345a Add more special methods to Namespace for ease of use. Rapptz 2022-03-14 22:48:50 -04:00
  • f0a47f5a40 Allow single element Literal in app commands Rapptz 2022-03-14 21:16:52 -04:00
  • 47cb7d03ec [commands] Type BotBase.help_command as Optional Stanisław Jelnicki 2022-03-15 02:02:36 +01:00
  • 6cf7c4a7d7 Add message content to doc examples Cryptex 2022-03-14 18:01:48 -07:00
  • 68dbf0f882 [commands] Fix message converter not inferring channel when missing ChrisJL 2022-03-15 01:01:14 +00:00
  • 3fd8f76c61 Add missing underscore in Modal refresh method Narmy 2022-03-15 02:00:39 +01:00
  • 934ab4151a Mark state refresh methods as private with an underscore Rapptz 2022-03-14 07:31:21 -04:00
  • 6dd8845e4f Fix Guild.audit_logs order being reversed without oldest_first and after Lilly Rose Berner 2022-03-14 11:23:40 +01:00
  • bc70ec5cfd Change persistent view example to use new setup_hook Rapptz 2022-03-14 06:12:58 -04:00
  • c95c163266 Fix background task examples Rapptz 2022-03-14 06:08:54 -04:00
  • 9b77331603 Change loop sentinel to provide a more descriptive error message Rapptz 2022-03-14 05:52:21 -04:00
  • aa18e573c3 Mark MISSING as hashable to allow it to be used in dataclasses in 3.11 Rapptz 2022-03-14 05:45:58 -04:00
  • abcec5da9d [tasks] Use the local timezone when comparing for the start time Rapptz 2022-03-14 04:44:37 -04:00
  • a4676804ec Show inherited members in InteractionMessage Rapptz 2022-03-14 02:21:05 -04:00
  • 3e70a4e798 Fix typo in add_cog doc HigherOrderLogic 2022-03-14 12:33:34 +07:00