Commit Graph

  • 4182496713 Add missing required property to Parameter Pıεяяε 2022-08-15 20:24:16 +02:00
  • 490974a620 [Crowdin] Updated translation files github-actions[bot] 2022-08-15 14:11:17 -04:00
  • 596f2ca222 Fix time_snowflake not being documented Rapptz 2022-08-15 14:01:54 -04:00
  • 6b50fcd5e4 Add Command.parameters to get all parameters of a command Rapptz 2022-08-15 13:42:47 -04:00
  • 5b56899676 Change snowflake_time and time_snowflake parameters to pos/kw-only Rapptz 2022-08-15 13:39:03 -04:00
  • 668196c14c [commands] Add description kwarg to parameters and show in default help Soheab 2022-08-15 18:18:23 +02:00
  • c92422d185 Add app commands transformer example Rapptz 2022-08-15 11:32:49 -04:00
  • 6886f1d01a Move modal example to its own folder Rapptz 2022-08-15 10:54:52 -04:00
  • 54541ba6f0 Ensure FFmpeg players have a _process attribute set even during errors Rapptz 2022-08-15 10:32:07 -04:00
  • 3802780f77 Change a lot of logging INFO calls to be less verbose Rapptz 2022-08-15 10:21:36 -04:00
  • 0ec06f0ac5 Add on_app_command_completion event Rapptz 2022-08-15 09:19:01 -04:00
  • 0b69148c84 Fix float focused autocomplete options being parsed Rapptz 2022-08-15 08:59:29 -04:00
  • 183ec1ab28 Fix typo in hybrid commands documentation I. Ahmad 2022-08-15 17:18:32 +05:00
  • 63b32994f4 Improve TranslationContext type narrowing using a tagged union Bryan Forbes 2022-08-15 07:17:41 -05:00
  • 49e6fe9a0c Fix autocomplete translations calling unnecessary locales Rapptz 2022-08-14 17:33:47 -04:00
  • 32c5a0cec1 Change default Choice.name_localizations to an empty dict Rapptz 2022-08-14 16:38:23 -04:00
  • e2d5791b67 Fix overload order on as_chunks James Hilton-Balfe 2022-08-14 22:32:07 +01:00
  • f69d4ee5cb Add Choice.name_localizations data from Discord Rapptz 2022-08-14 16:29:16 -04:00
  • ff1dd586d3 Always use last value as a fallback for Select.values Rapptz 2022-08-14 15:50:16 -04:00
  • 9c38cf3aef Fix ui.Select.values in modals Mikey 2022-08-14 12:25:43 -07:00
  • 584c22f642 Raise TypeError when token is not a string Puncher 2022-08-14 11:39:06 +02:00
  • c8db766be4 Fix empty strings crashing Namespace for float options Rapptz 2022-08-14 05:36:35 -04:00
  • 610edaeead [commands] Add option to disable auto_locale_strings in GroupCog JohannesIBK 2022-08-13 17:27:39 +02:00
  • 1fa7d7e402 Raise special CommandSyncFailure during sync for better errors Rapptz 2022-08-12 10:20:33 -04:00
  • a9025ca3d1 Remove public CommandTree.call method and make it private Rapptz 2022-08-12 10:57:05 -04:00
  • e269904b26 Add :decorator: to ui.button and ui.select Puncher 2022-08-12 00:25:32 +02:00
  • 0744737e86 Fix default_permissions serialisation error from __bool__ change Rapptz 2022-08-11 18:24:23 -04:00
  • f1ec0919f6 Remove stack info from ratelimit logs Rapptz 2022-08-10 22:55:27 -04:00
  • 747091d4a2 Add __bool__ for flags Rapptz 2022-08-10 22:49:49 -04:00
  • 7da2048d1a Add support for resume_gateway_url Rapptz 2022-08-05 08:17:52 -04:00
  • a36d6daec7 Fix formatting issue in app_commands Rapptz 2022-08-10 22:39:53 -04:00
  • 11278d55e8 Add command information to Parameter class Rapptz 2022-08-09 23:11:40 -04:00
  • afcec46dfd Fix Sticker Objects type being StageInstance z03h 2022-08-09 19:52:30 -07:00
  • 4fbafcd718 Fix attribute error in TranslationError Rapptz 2022-08-09 10:45:12 -04:00
  • df54da8bc9 Fix secret example requiring more intents than necessary Rapptz 2022-08-09 10:42:15 -04:00
  • c32567ea81 Refactor TranslationContext to be more useful Rapptz 2022-08-09 10:36:30 -04:00
  • d826f4f3a8 Change ui.Select.values to a ContextVar to avoid race conditions Mikey 2022-08-09 05:37:46 -07:00
  • dc81ff76c4 Add Object.type to Objects where a type can be determined z03h 2022-08-09 05:18:58 -07:00
  • 57efb5a5a0 Fix failing tests to use new get_parameter function Rapptz 2022-08-09 07:48:36 -04:00
  • 1727eca106 Add app_commands.Parameter for parameter introspection Rapptz 2022-08-09 07:43:40 -04:00
  • 0e386ec2cc Fix parameter descriptions being serialised as locale_str Rapptz 2022-08-08 21:14:52 -04:00
  • cc0c261925 Change auto_locale_strings default to True Rapptz 2022-08-08 20:17:26 -04:00
  • e16c0b02ac [Crowdin] Updated translation files github-actions[bot] 2022-08-08 19:59:11 -04:00
  • 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