Commit Graph

  • 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
  • 2da6415008 Add more tests for JST regression case Rapptz 2022-03-14 01:07:49 -04:00
  • c6ab67420e Remove Embed.Empty in favour of None Rapptz 2022-03-14 00:09:48 -04:00
  • 5aa696ccfa Fix typing issues and improve typing completeness across the library Stocker 2022-03-13 23:52:10 -04:00
  • 603681940f [tasks] Only correct for clock drift if an explicit time is given Rapptz 2022-03-13 22:51:10 -04:00
  • f2586e9fe7 [tasks] Handle imaginary or ambiguous times due to DST transitions Rapptz 2022-03-13 22:45:18 -04:00
  • f63070c071 Move migrating to v1 into a new separate file Rapptz 2022-03-13 21:55:07 -04:00
  • a1c618215e [commads] Change cog/extension load/unload methods to be async Josh 2022-03-14 11:03:45 +10:00
  • a339e01047 [tasks] Compare using full datetime rather than sole time Rapptz 2022-03-13 20:44:05 -04:00
  • 58ad146a4e Remove window re-assignment in gateway rate limiter Rapptz 2022-03-13 12:09:07 -04:00
  • c0890bfbc1 Remove unused View._expires_at private function Rapptz 2022-03-13 11:50:09 -04:00
  • 64c6639f4b [tasks] Handle loop functions running multiple times due to clock drift Rapptz 2022-03-13 11:36:00 -04:00
  • 9c61e10a55 Move all async object creation to a proper initialisation point Rapptz 2022-03-13 08:26:39 -04:00
  • 8d4f08a5e7 Fix AutoShardedClient to work with the new asyncio loop machinery Rapptz 2022-03-13 08:05:44 -04:00
  • 049df7c586 Add a note to users that they must have the message content intent Vish M 2022-03-13 11:48:41 +00:00
  • 6a43d60acf [tasks] Refactor tasks to not store a time index state Rapptz 2022-03-13 06:20:44 -04:00
  • c02a3c0bb2 Add asynchronous context manager support for Client Rapptz 2022-03-13 05:02:12 -04:00
  • 93af158b0c Refactor loop code to allow usage of asyncio.run Han Seung Min - 한승민 2022-03-13 14:24:14 +05:30
  • 196db33e9f [docs] fix typo in sticker_create docs apple502j 2022-03-13 15:19:14 +09:00
  • 5e9097179b Add CommandTree.copy_global_to method for quick development Rapptz 2022-03-12 21:32:35 -05:00
  • 3718192b9c Raise a TypeError if a non-View is passed to Webhook.send Rapptz 2022-03-12 21:01:07 -05:00
  • 42beec9fa9 Fix bug when app commands would not have a module attribute set on copy Rapptz 2022-03-12 20:55:08 -05:00
  • d63fd578c2 Change TextChannel annotation channel_types to include news channels Rapptz 2022-03-12 20:51:32 -05:00
  • 5f2d9a9ffa Fix state parameter in Interaction.edit_original_message Dawid K 2022-03-13 02:50:01 +01:00
  • 342652c8ad Document NotFound for Interaction original_message methods metro 2022-03-12 20:49:06 -05:00
  • 6def5c9131 Allow specifying float default values for app commands Rapptz 2022-03-12 09:41:23 -05:00
  • 68b7ee6b99 Add Client.setup_hook Gnome! 2022-03-12 14:39:43 +00:00
  • 1d1bba1f90 Support app_commands.guilds decorator for context menu commands Rapptz 2022-03-12 09:28:46 -05:00
  • 0ef369c0fa [commands] Automatically unload top level app commands in extensions Rapptz 2022-03-12 09:24:26 -05:00
  • a672455ca9 Fix some context menu commands not being registered in guild contexts Rapptz 2022-03-12 08:39:57 -05:00
  • d68f2db7cb [commands] Always respect guild IDs passed to cog adding and removal Rapptz 2022-03-12 06:58:55 -05:00
  • d921a03911 Fix bug where Guild.member_count would clear during update events Rapptz 2022-03-12 04:19:52 -05:00
  • 9fd63ad7f3 Fix Optional type hints not respecting explicitly set defaults Rapptz 2022-03-12 02:03:17 -05:00
  • 095aaa9ad1 Change wording of InvalidArgument removal in docs chromacoat dreamkey 2022-03-12 12:25:43 +08:00
  • 124a3ee42a Add Widget.presence_count attribute and fix Widget types metro 2022-03-11 21:51:40 -05:00
  • 9dea6caf20 Ensure cog app commands is a list rather than a dict Rapptz 2022-03-11 21:30:49 -05:00
  • a877b269da Remove unused Object import thetimtoy 2022-03-11 18:16:35 -08:00
  • c95d12dcfc Prevent KeyError when removing scheduled event user Nadir Chowdhury 2022-03-12 01:50:49 +00:00
  • 206c340252 Fix versionadded in UserFlags.spammer Priyam 2022-03-11 20:58:41 +05:30
  • 333849e5a3 Unbind bound methods passed to Command constructor Rapptz 2022-03-11 10:26:16 -05:00
  • 140a827190 Fix default guilds for commands not being respected Rapptz 2022-03-11 08:33:37 -05:00
  • 740c156cd8 Allow Optional transformers to work at runtime Rapptz 2022-03-11 08:06:11 -05:00
  • bbf7a7981b Ensure all choices are the same type as the parameter type Rapptz 2022-03-11 07:26:25 -05:00
  • 377561844d Raise an error if a child command has default guilds set Rapptz 2022-03-11 07:18:34 -05:00
  • f54c4ca54e Validate application command names Rapptz 2022-03-11 06:40:28 -05:00
  • 65fc6951bc Add support for stage instance's scheduled event I. Ahmad 2022-03-11 14:09:56 +05:00
  • 04535e4e1d [tasks] use None instead of MISSING for internal attributes Sebastian Law 2022-03-10 20:12:22 -08:00
  • f4ca36ec5a Add Member.timeout helper method Rapptz 2022-03-10 21:31:32 -05:00
  • 483ffeacd4 Inject state into PartialEmoji in Activity Sebastian Law 2022-03-10 17:56:20 -08:00
  • adb69e7157 Fix some spelling mistakes Neon Jonn 2022-03-11 01:45:16 +00:00
  • 26c6b4d449 Use new differentiator for guild and global commands Rapptz 2022-03-10 20:08:29 -05:00
  • 02fcc814e1 Allow passing guild_ids in constructors of Command and Group Rapptz 2022-03-10 19:31:27 -05:00
  • f6453d9439 Fix free functions being passed a binding in autocomplete callbacks Rapptz 2022-03-10 19:26:00 -05:00
  • ef92170a9d Fix Message.edit ignoring suppress kwarg Eric Schneider 2022-03-11 00:56:42 +01:00
  • 0ea6fdac5a Fix typo in Client.get_stage_instance daima3629 2022-03-11 08:53:20 +09:00
  • 8502978649 Check the global scope when dispatching context menus Arthur 2022-03-11 00:51:14 +01:00
  • f09f0ea8ca Fix addition TypeError with Guild.member_count Willy 2022-03-10 17:44:42 -05:00
  • d22a7fb793 Fix intents typo in new_member example Omkaar 2022-03-10 16:50:33 +05:30