Commit Graph

  • 40986f9279 Fix overlapping or incorrect slots found by slotscheck James Hilton-Balfe 2022-08-09 00:58:48 +01:00
  • 7e3b08871b Fix documentation build failure from previous rename Rapptz 2022-08-08 08:30:54 -04:00
  • dd40ff1d57 Add __slots__ to locale_str Rapptz 2022-08-08 07:54:58 -04:00
  • 9ce1541775 Rename Interaction.original_message to original_response Rapptz 2022-08-08 05:07:28 -04:00
  • 44abc469f1 [commands] Remove unused with_command HybridCommand parameter Puncher 2022-08-07 23:20:02 +02:00
  • 6381b5a8f4 Change abc.GuildChannel.overwrites to have Object keys if cache failed Rapptz 2022-08-06 14:46:52 -04:00
  • 1a361f4519 Document Text in Voice in the migrating documentation Rapptz 2022-08-06 14:18:43 -04:00
  • 1787867320 Add support for specifying the type of a generic discord.Object Josh 2022-08-07 04:23:37 +10:00
  • 842d6b4fbb Fix auto_locale_strings when no choices are given Rapptz 2022-08-06 09:19:04 -04:00
  • 87c9c95bb8 Use persistent dictionary for ratelimit information Rapptz 2022-08-05 23:19:16 -04:00
  • 7d20379bd9 Add name_localizations and description_localizations to AppCommand & co Rapptz 2022-08-05 08:48:07 -04:00
  • 1c9792e0ed Add auto_locale_strings parameter to application commands Rapptz 2022-08-03 16:42:39 -04:00
  • 2d586ae805 Add initial support for app command localisation Rapptz 2022-08-02 10:05:32 -04:00
  • eb3bc7102b [commands] Ensure Command.extras are copied Rapptz 2022-08-05 21:56:51 -04:00
  • d707019348 Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores Bryan Forbes 2022-08-04 21:46:02 -05:00
  • 60079aee1b [commands] Fix Annotated not working with FlagConverter Rapptz 2022-08-04 10:44:03 -04:00
  • 08fa9aa65c Add support for inline transformers via classmethod Rapptz 2022-08-04 10:28:57 -04:00
  • 6c42065210 Fix various a -> an typos across the library Rapptz 2022-08-04 08:17:07 -04:00
  • c4e09acff8 Add InteractionResponse.type property Mikey 2022-08-04 05:13:27 -07:00
  • ca1365d7ef Set allow_list for fetched AutoModRules z03h 2022-08-03 17:23:58 -07:00
  • 99d2ecac54 Fix and add tests for new autocomplete regression Rapptz 2022-08-03 20:20:41 -04:00
  • c735682ac6 Fix autocomplete bindings not working for transformer instances Rapptz 2022-08-03 19:02:36 -04:00
  • 5538cd501c Document relationship between AutoModRuleAction and its type Mikey 2022-08-03 00:13:00 -07:00
  • 2fb309a463 [commands] Fix typing error with CheckAnyFailure Maya 2022-08-03 19:11:12 +12:00
  • c604f853ea Allow creation of allow lists in automod word filter rules Alex Nørgaard 2022-08-03 08:10:36 +01:00
  • 13c725f183 Fix EnumNameTransformer passing values Rapptz 2022-08-02 11:02:30 -04:00
  • d4cc8d3006 [Crowdin] Updated translation files github-actions[bot] 2022-08-01 20:06:35 -04:00
  • 07ad6951fb Fix various generics throughout the public interface Bryan Forbes 2022-08-01 05:24:55 -05:00
  • 6e3c359373 Add min/max_length to Argument Soheab 2022-08-01 12:23:12 +02:00
  • f5b0717661 [commands] Add get_app_commands and walk_app_commands to Cog Soheab 2022-08-01 12:22:02 +02:00
  • c26473d0eb Fix views not being persistent if modifying custom_id after __init__ Varun J 2022-07-31 14:23:25 +05:30
  • 7d11e2a27c Remove documentation for on_group_join/leave Middledot 2022-07-30 22:39:30 -04:00
  • 5527de688a Fix Python 3.10 __or__ not working with transformers Rapptz 2022-07-30 04:43:41 -04:00
  • 11618cd1ba Refactor transformers to use instances instead of classmethods Rapptz 2022-07-30 04:35:50 -04:00
  • cbf02eda0c Fix bolded HTTPException not working due to rST limitation Rapptz 2022-07-29 21:58:32 -04:00
  • c43d302a28 [commands] Only call hybrid after_invoke hooks if the command is called Rapptz 2022-07-29 21:39:23 -04:00
  • dc8cbc073e Fix small typo in Guild.edit docstring Soheab 2022-07-28 04:28:54 +02:00
  • 89ee05c03f Add tests by bryanforbes for app commands within cogs StockerMC 2022-07-27 16:21:17 -04:00
  • 1fbcfbd1fb Fix cog_app_command_error for group edge case StockerMC 2022-07-27 13:49:19 -04:00
  • 6d1069e789 Fix cog_app_command_error for groups Stocker 2022-07-27 00:29:53 -04:00
  • b80cb47caf Implement Embed.__eq__ and EmbedProxy.__eq__ Vioshim 2022-07-26 23:28:10 -05:00
  • 9f1c511b47 Fix Guild.afk_channel and VoiceState.channel being None at startup z03h 2022-07-26 06:38:36 -07:00
  • 24b619a516 Fix docstring for AppCommand.options and AppCommandGroup.options Lucas Hardt 2022-07-26 03:20:08 +02:00
  • a5410e6135 Add documentation for hybrid commands I. Ahmad 2022-07-26 06:19:42 +05:00
  • 3ee18e4c5d Use a TypeVar for flatten_user to workaround Pyright bug Stocker 2022-07-25 21:18:52 -04:00
  • fb8d5c15d0 Add cog_app_command_error to python -m newcog Server Bot 2022-07-25 06:00:04 +05:30
  • efdda635fb Fix View.from_message not respecting ActionRow row order Rapptz 2022-07-23 15:24:26 -04:00
  • 9d9d96fce1 Fix crash with automod due to silent Discord breaking change Rapptz 2022-07-23 15:14:45 -04:00
  • b68568f375 [commands] Fix type annotations to use Union instead of | Rapptz 2022-07-23 15:11:19 -04:00
  • 311891912e [commands] Change cooldowns to take context instead of message Mikey 2022-07-23 04:08:44 -07:00
  • 406495b465 Use a sequence instead of a list for AllowedMentions Rapptz 2022-07-23 01:26:59 -04:00
  • dc50736bfc Add ApplicationFlags.app_commands_badge Rapptz 2022-07-21 15:00:40 -04:00
  • d52bc5d225 Cache voice members on start up if MemberCacheFlags.voice is enabled Rapptz 2022-07-20 23:12:36 -04:00
  • 0b1c5df3e0 Fix minimum and maximum being casted to str in Range[str, ...] Rapptz 2022-07-20 23:12:00 -04:00
  • 9c109ae59b [commands] Unload cog when command registration fails in _inject Sebastian Law 2022-07-20 19:31:14 -07:00
  • 87bc79e6e3 Change certain sequences to use a special proxy type instead of list Rapptz 2022-07-19 01:31:33 -04:00
  • 98c4f2ae8b Fix utils.copy_doc being partially unknown Rapptz 2022-07-19 00:48:52 -04:00
  • a01dad283f Add extraneous debug logging to sub ratelimits being detected Rapptz 2022-07-19 00:44:55 -04:00
  • 76402b00f9 Allow configuring the maximum ratelimit timeout before erroring Rapptz 2022-07-18 23:56:38 -04:00
  • 85ea418776 Special case message deletion sub rate limits Rapptz 2022-07-18 22:20:30 -04:00
  • c17eb31328 Rewrite rate limit handling to use X-Ratelimit-Bucket and a semaphore Rapptz 2022-07-18 08:55:05 -04:00
  • 4914e74029 Change variable name for binding error handler to be more generic Rapptz 2022-07-17 23:46:47 -04:00
  • 0546343bcb [commands] Add cog-level app command error special method Stocker 2022-07-17 23:45:19 -04:00
  • 2067819b75 Fix some minor typing errors Rapptz 2022-07-17 21:40:05 -04:00
  • 52f3a3496b Update docs for abc.Messageable.pins() ow0x 2022-07-17 10:37:33 +05:30
  • faad035fa2 [commands] change Range to raise BadArgument for invalid values z03h 2022-07-16 19:27:47 -07:00
  • c7e589033d [Crowdin] Updated translation files github-actions[bot] 2022-07-15 00:16:01 -04:00
  • 20d3871290 Add return type hint for some functions Harshal Laheri 2022-07-15 09:45:42 +05:30
  • e0341c9ef2 Add forum post rename system message Lilly Rose Berner 2022-07-11 12:05:07 +02:00
  • eea70b53cd Fix small typos in docstrings GoogleGenius 2022-07-10 23:05:09 -05:00
  • 1aaa32d4bc Add on_raw_app_command_permissions_update event z03h 2022-07-10 01:00:26 -07:00
  • 55b9a848ff Implement AppCommand mentions Lucas Hardt 2022-07-10 05:06:09 +02:00
  • a8a6bf4f6c Add advanced startup example Michael H 2022-07-08 03:07:32 -04:00
  • 3433e13848 Prioritise async iteration before sync iteration in utils.find/get James Hilton-Balfe 2022-07-08 00:30:21 +01:00
  • 04aeff660b Add automod types to audit log z03h 2022-07-07 16:30:03 -07:00
  • b88bdaf4c0 Add Intents.auto_moderation I. Ahmad 2022-07-06 02:56:58 -07:00
  • b917904c1b Prevent launching shards when bot is closed Rapptz 2022-07-06 05:54:18 -04:00
  • 9fe19dcc69 [commands] Add Context.permissions and Context.bot_permissions zephyrkul 2022-07-04 19:48:36 -06:00
  • 65a270d35a Update bot_has_permissions to use Interaction.app_permissions JohannesIBK 2022-07-05 03:47:47 +02:00
  • 37c7c8fb34 [Crowdin] Updated translation files github-actions[bot] 2022-07-04 21:45:35 -04:00
  • 5de9287902 Change abc.PrivateChannel to be a proper subclass Rapptz 2022-07-04 05:43:46 -04:00
  • fd9c244f48 Validate Range to disallow min > max Rapptz 2022-07-03 07:37:48 -04:00
  • c61e407b50 Fix typo in app_commands.AppCommandGroup Emily 2022-07-01 21:31:54 -05:00
  • 482e3ead9b Improve documentation on AutoModAction.message_id Rapptz 2022-07-01 20:12:07 -04:00
  • 53a111872e Fix ArrayFlags._from_value not having an initial value Rapptz 2022-07-01 20:10:42 -04:00
  • b806ce332e Fix passing proxy to interactions and webhooks CoolSpring8 2022-07-02 07:27:42 +08:00
  • b5392ea0f1 [commands] Add support for Range[str, ...] Rapptz 2022-07-01 19:21:56 -04:00
  • bac66a9dab Add support for Range[str, ...] for app commands Rapptz 2022-07-01 19:04:59 -04:00
  • b3a24846bd Add Interaction.app_permissions Rapptz 2022-06-29 22:38:04 -04:00
  • 3b5cd3b92c Fix audit log for multiple app command permission updates z03h 2022-06-29 19:20:23 -07:00
  • 66dbed29b7 Add support for harmful_link automod triggers Simon Beal 2022-06-30 02:52:22 +01:00
  • 77a7b17265 Fix tiny errors Omkaar 2022-06-30 07:20:52 +05:30
  • b7dd97dca9 [commands] Change Command.extras to match typing in app commands Bryan Forbes 2022-06-28 15:20:15 -05:00
  • 824bbce95b Add documetation for auto_moderation_action MessageType enum ChrisJL 2022-06-28 13:44:19 +01:00
  • 0eb3d26343 Add generic arguments for extras typing Bryan Forbes 2022-06-27 21:35:22 -05:00
  • 38ab4b0810 [Crowdin] Updated translation files github-actions[bot] 2022-06-27 22:35:03 -04:00
  • b95db674c0 Fix some typos apple502j 2022-06-28 11:34:45 +09:00
  • 55849d996e Update documentation for discord.Message Emily 2022-06-26 23:48:36 -05:00
  • 5426d19dc7 Implement AutoMod Alex Nørgaard 2022-06-27 05:47:52 +01:00
  • 7ad00750c6 Add note about different client subclasses Rapptz 2022-06-25 07:51:21 -04:00