Commit Graph

  • 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
  • 4edfcd165d Version bump aiohttp and PyNaCl Rapptz 2022-03-10 06:03:44 -05:00
  • 5ff657dbec Add missing attributes in PartialInviteGuild Rapptz 2022-03-10 05:38:43 -05:00
  • d210f799ee [commands] Fix cog eject behaviour with application commands Rapptz 2022-03-10 05:33:54 -05:00
  • 71586836e1 Add Guild.vanity_url helper property Rapptz 2022-03-10 05:06:02 -05:00
  • 340f09a1c0 [commands] Update ScheduledEventConverter docs for clarity mysistersbrother 2022-03-10 16:20:11 +11:00
  • 9c054e9222 Remove unbound remnants of Guild._member_count Steve C 2022-03-09 23:22:07 -05:00
  • 03687fb616 Change Guild.member_count to Optional[int] Alex Nørgaard 2022-03-10 04:06:07 +00:00
  • 9b65b5ce2e Fix scheduled event payload and docstring type metro 2022-03-09 21:31:14 -05:00
  • 15885ea728 Add an example for the new modals Robin 2022-03-09 19:45:37 -06:00
  • 70876d7f51 ScheduledEvent.description can be Optional Nadir Chowdhury 2022-03-10 01:42:25 +00:00
  • a6ae7ec196 Raise error if two trees are registered to the same connection state Rapptz 2022-03-09 20:35:07 -05:00
  • 446bfa78b0 [commands] Allow Cog and app_commands interopability Rapptz 2022-03-09 19:48:51 -05:00
  • 5741ad9368 Change default guild IDs attribute to persist on copy Rapptz 2022-03-09 19:11:30 -05:00
  • 0d126c594c Use descriptor protocol to obtain attribute name instead of a dict Rapptz 2022-03-09 00:57:21 -05:00
  • 303d33bb08 Support Group with app_commands.guilds decorator Rapptz 2022-03-09 00:51:59 -05:00
  • 9d27855755 Update attributes of instantiated Group to point to the Command copy Rapptz 2022-03-08 15:34:49 -05:00
  • 56e0c1b3d7 Fix typo in applications.commands scope Rapptz 2022-03-08 02:07:05 -05:00
  • 432de92e8a Update translations, add Crowdin CLI config Devon R 2022-03-10 01:07:48 +00:00
  • 3300f12dbb Fix scheduled event dispatch arguments z03h 2022-03-09 17:07:22 -08:00
  • 93fba264ad [commands] add ScheduledEvent converter z03h 2022-03-09 14:56:50 -08:00
  • bf3eb0a7fe [commands] Fix for _Bot Context generic in converters Aaron Hennessey 2022-03-09 22:55:55 +00:00
  • 89009759e0 Fix missing User import in reaction.py Jens Reidel 2022-03-09 14:46:33 +01:00
  • 8825bf922f Fix Member.move_to typehint and docstring Lucas Hardt 2022-03-09 13:41:51 +01:00
  • cb7ecf0938 Fix errors in ScheduledEvent and add url property z03h 2022-03-09 04:38:13 -08:00
  • 5569b6e1f8 Remove outdated note in FAQ Middledot 2022-03-08 23:48:35 -05:00
  • 68b0759637 Add sidebar search and support for search bar middle clicking Myst(MysterialPy) 2022-03-09 12:26:12 +10:00
  • 1a73444275 Categorize events in the documentation Chiggy-Playz 2022-03-09 07:55:28 +05:30
  • 920da3a73f Update docs for audit logs relating to scheduled events Alex Nørgaard 2022-03-09 02:20:49 +00:00
  • 4c00b8110c Add audit log event transformer for AuditLogEntry.target Alex Nørgaard 2022-03-09 02:20:23 +00:00
  • 0db7b22713 Fix archived threads not getting evicted I. Ahmad 2022-03-09 07:16:46 +05:00
  • 3d74da8d70 Add missing app_commands decorators to documentation Rapptz 2022-03-08 01:22:43 -05:00
  • 0c690bc949 Fix audio not sending Rapptz 2022-03-08 01:09:15 -05:00
  • 25b4bc277b Add app_commands.guilds to set the guilds of a command in another way Rapptz 2022-03-08 00:48:24 -05:00
  • 5fb1b933cf Add Group.commands property Rapptz 2022-03-08 00:07:39 -05:00
  • 987e27dfce Revert all Guild.chunk changes Rapptz 2022-03-07 22:14:38 -05:00
  • e6a87e0782 Add support for adding app commands locally to many guilds Rapptz 2022-03-07 21:52:58 -05:00
  • acbd8ca5f6 Fix typo causing a TypeError in Interaction.guild_locale Stocker 2022-03-07 19:54:13 -05:00
  • 02310e4abd Add Interaction.locale and Interaction.guild_locale Leo 2022-03-07 16:34:38 -08:00
  • 8213603822 Change default oauth_url scopes to include application.commands Rapptz 2022-03-07 18:33:52 -05:00
  • ba2763a4a1 Add private hook for changing the API version Rapptz 2022-03-07 18:23:12 -05:00
  • fc4e5d6237 Fix type checker error in discord.__main__ Rapptz 2022-03-07 18:10:40 -05:00
  • ac0e4fabb8 Fix type checker error in Guild.chunk Rapptz 2022-03-07 18:09:23 -05:00
  • 4b2c2b231d Fix type checker errors in Connectable and Messageable Rapptz 2022-03-07 18:05:43 -05:00