Commit Graph

  • 2bf2bfc9b4 Add utils.setup_logging to help set up logging outside of Client.run Rapptz 2022-08-17 22:13:01 -04:00
  • 1c7747fe9d Fix nested Annotated calls not resolving Rapptz 2022-08-17 10:38:12 -04:00
  • 8dd186cf1e Fix cache eviction for ratelimit objects Rapptz 2022-08-17 08:39:39 -04:00
  • 54ee383585 [commands] Add warning if Intent.message_content is not enabled Rapptz 2022-08-17 03:51:50 -04:00
  • cdce8fae5b Change ui.TextInput.value to not be Optional Rapptz 2022-08-17 02:26:17 -04:00
  • f52a02359d Use built-in isascii instead of regex Rapptz 2022-08-17 01:52:29 -04:00
  • d78be1f591 Fix Exception Hierarchy to have the proper heading Rapptz 2022-08-16 22:38:55 -04:00
  • 659d6b6123 Make app_commands.describe examples consistent Mikey 2022-08-16 17:10:14 -07:00
  • 84c233eb0e Remove outdated comment in secret.py example Willy 2022-08-16 20:08:48 -04:00
  • bd19ad05e7 Fix app_command_completion triggering on certain errors Rapptz 2022-08-16 19:57:44 -04:00
  • 7be0779b65 Add root_logger setting to Client.run Rapptz 2022-08-16 19:06:23 -04:00
  • f12cdd5f90 Switch quotes to make docs example render properly Bluesy 2022-08-16 16:11:55 -07:00
  • 3aa3c36c4f Marginally speed up CI doc builds by using multiple jobs Rapptz 2022-08-15 15:01:08 -04:00
  • 288f2d169e Document that docstrings can be used to document parameters Bluesy 2022-08-16 14:00:09 -07:00
  • 5039b967a0 Document get_thread not fetching archived threads mirnovov 2022-08-17 08:59:20 +12:00
  • 1097e1d975 Add mention_spam automod trigger and change default values z03h 2022-08-16 13:58:59 -07:00
  • 1a11c9eeee [commands] Properly set module information for hybrid commands Rapptz 2022-08-16 01:28:27 -04:00
  • de5fa8bc9c Improve sync error format for children options Rapptz 2022-08-16 01:18:12 -04:00
  • 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