Commit Graph

  • c6f3ed1af4 Allow sending View with Interaction.response.send_message Rapptz 2021-05-30 06:10:58 -04:00
  • 1b15772671 Allow assigning Select.options to refresh the select menu Rapptz 2021-05-30 03:20:29 -04:00
  • 02c317d9a4 Fix Message.edit typings to take View parameters Rapptz 2021-05-30 00:00:24 -04:00
  • 7bd1211b36 Rework item grouping behaviour to take into consideration weights Rapptz 2021-05-29 23:58:37 -04:00
  • 695662416a Fix Messageable.send overload to take view parameters Rapptz 2021-05-29 08:01:37 -04:00
  • c21d12be5e Check future state before setting result in View Rapptz 2021-05-29 05:52:05 -04:00
  • d78e5d979d Refactor and type hint invites Rapptz 2021-05-29 05:49:19 -04:00
  • 5a68d3a561 Typehint AllowedMentions Rapptz 2021-05-29 04:26:21 -04:00
  • 5a9cbc967b Typehint mixins Rapptz 2021-05-29 02:44:31 -04:00
  • 794327cdb4 Fix type errors with required keys in the integration types Rapptz 2021-05-29 01:07:13 -04:00
  • 1ae40a11b7 Fix some type errors in StreamIntegration.edit Rapptz 2021-05-29 00:54:31 -04:00
  • 06743dd434 Make StreamIntegration.role a property rather than a strong reference Rapptz 2021-05-29 00:50:56 -04:00
  • 732c5384fd Allow registering a View for persistent long term dispatching Rapptz 2021-05-29 00:35:13 -04:00
  • 4d7822493f Add support for bot integrations Maya 2021-05-29 16:43:33 +12:00
  • 7e1f8bf1b4 Typehint Sticker Rapptz 2021-05-29 00:19:11 -04:00
  • 52678b2eb5 [commands] Add Command.extras Michael H 2021-05-29 00:18:02 -04:00
  • b48f510e15 Add invite targets for voice channel invites Zomatree 2021-05-29 05:15:46 +01:00
  • f321efd4de Default SelectOption.value to the label if not given Rapptz 2021-05-28 09:43:15 -04:00
  • b84c199c70 Allow constructing SelectOption.emoji from a string as well Rapptz 2021-05-28 09:40:49 -04:00
  • c475218112 Typehint Role and RoleTags Rapptz 2021-05-28 08:53:19 -04:00
  • 35bef7af38 Fix Role.is_assignable() computing Guild.me twice Rapptz 2021-05-28 08:41:45 -04:00
  • f4fe247813 Remove __slots__ from View Rapptz 2021-05-28 08:16:35 -04:00
  • 9ba5745e68 Check for guild owner in Role.is_assignable() TheOneMusic 2021-05-28 14:18:49 +02:00
  • ef9f61a933 Add support for select components Rapptz 2021-05-28 05:33:06 -04:00
  • 6874aa73c4 Add PartialEmoji.from_str helper Rapptz 2021-05-28 04:54:39 -04:00
  • ff36aedf7b Add support for reading SelectMenu components from messages Rapptz 2021-05-28 02:41:52 -04:00
  • 8bd17ede47 Move ActionRow to its own separate type split from Component Rapptz 2021-05-28 02:11:10 -04:00
  • aeb2cfb573 Add private get_slots utility to get slots through MRO Rapptz 2021-05-28 01:56:48 -04:00
  • 263f45d05b Fix View.wait not returning when it times out Rapptz 2021-05-28 00:52:55 -04:00
  • 3f60997630 Add a timeout callback for detecting when a View times out Rapptz 2021-05-28 00:48:39 -04:00
  • 97f308d219 Add View.remove_item and View.clear_items Rapptz 2021-05-28 00:30:31 -04:00
  • 3453992ce6 Add View.interaction_check for interaction pre-conditions Rapptz 2021-05-27 23:49:01 -04:00
  • 6c8f1ccbdf Add Role.is_assignable() Tyler 2021-05-27 23:53:23 -05:00
  • 65db814d4a Add a way to wait for a view to finish its interactions Rapptz 2021-05-27 23:31:48 -04:00
  • 77ed476129 Fix extraneous colons in the documentation for ButtonStyle MrKomodoDragon 2021-05-27 19:34:31 -07:00
  • 6cc3e572ba Button labels can be None Zomatree 2021-05-28 03:33:13 +01:00
  • 1bf782fcb5 Add Member.get_role Michael H 2021-05-27 22:31:49 -04:00
  • 1954861668 Add warning for comparing with role positioning Rapptz 2021-05-27 21:11:17 -04:00
  • fc64ffdabd Allow passing multiple embeds in InteractionResponse.edit_message Rapptz 2021-05-27 21:07:28 -04:00
  • fbafe20e51 Allow View to be instantiated without subclassing Rapptz 2021-05-27 01:41:18 -04:00
  • c89882441c Fix typings for resolved channels in slash commands Rapptz 2021-05-04 21:50:15 -04:00
  • 7584834dd4 Only automatically defer if no response was given in callback Rapptz 2021-04-30 19:40:22 -04:00
  • 3b83f60b35 Add support for setting interaction responses Rapptz 2021-04-30 19:32:13 -04:00
  • 85758a75b3 Add interaction related endpoints to async webhook Rapptz 2021-04-30 01:02:37 -04:00
  • d42c63e186 Fix some type hints in interactions Rapptz 2021-04-29 23:20:14 -04:00
  • 2ad2cab50c [Interactions] Create User only when in DMs AXVin 2021-04-29 11:25:21 +05:30
  • 5e96ad9261 Force button style to link if a URL is passed Rapptz 2021-04-28 01:48:39 -04:00
  • 80fd222ca0 Add aliases for button style colours Rapptz 2021-04-28 01:44:50 -04:00
  • eda6680377 Rename enums to use official API naming Rapptz 2021-04-28 01:37:26 -04:00
  • cc800796a2 Properly guard for DMs in interaction creation Rapptz 2021-04-26 21:40:37 -04:00
  • ed9badcddf Make Item and Button generic over the underlying view Rapptz 2021-04-26 21:34:01 -04:00
  • 4c0ebc9221 Change the way callbacks are defined to allow deriving Rapptz 2021-04-26 06:02:43 -04:00
  • cc56f31bcd Fix emoji not showing up in button component Rapptz 2021-04-25 09:55:07 -04:00
  • 98570793e4 Add initial support for buttons and components Rapptz 2021-04-25 04:57:29 -04:00
  • f42e922696 Fix bug in Embed.__len__ caused by footer without text Mikey 2021-05-26 21:45:35 -07:00
  • f56543df15 [commands] Remove function call indirection when checking author Rapptz 2021-05-25 20:53:44 -04:00
  • 67aabc3230 Remove VerificationLevel aliases Stanisław Jelnicki 2021-05-26 02:51:08 +02:00
  • 36cf3c94b4 [commands] Remove Bot.self_bot Tari 2021-05-26 03:46:26 +03:00
  • 3b55573777 Fix minor typo in typing() docs numbermaniac 2021-05-25 16:23:14 +10:00
  • ac061c31fb Fix default hook signature Imayhaveborkedit 2021-05-25 02:22:21 -04:00
  • 3c90f16bf0 Fix cached_slot_property typings again Rapptz 2021-05-23 21:30:44 -04:00
  • 3cb093c709 Add a note about overwriting in set_permissions pikaninja 2021-05-23 02:08:15 -07:00
  • 65439732b3 Add Discord Certified Moderator user flag Stanisław Jelnicki 2021-05-23 11:07:33 +02:00
  • f87eaa613d [docs] typo fix Nadir Chowdhury 2021-05-23 08:47:16 +01:00
  • 5acb3a62f8 Fix Webhook example apple502j 2021-05-23 16:42:37 +09:00
  • 8e08bd6af2 Add vws message hook Imayhaveborkedit 2021-05-23 03:42:07 -04:00
  • cc8a86a4bd Improve the example for abc.Messageable.typing MrKomodoDragon 2021-05-23 00:37:55 -07:00
  • 71fe40aafa Consistent loop attribute description Cryptex 2021-05-23 00:36:20 -07:00
  • 42bab370a7 [commands] Add BadColorArgument to __all__ Tari 2021-05-16 22:40:06 +03:00
  • 81b259ab36 Fix sending arrays with nulls in them when changing presences Rapptz 2021-05-16 03:51:27 -04:00
  • c896563af4 Fix Colour.fuchsia docstring typo chromacoat dreamkey 2021-05-16 08:00:35 +08:00
  • 5ad88dec72 Change Colour.blurple to new one Dorukyum 2021-05-15 09:13:12 +03:00
  • 42a538edda [tasks] Replace None check with MISSING check in task loop Josh 2021-05-15 16:10:00 +10:00
  • ef6f5d947a [commands] Update command.parent and command.parents docs NextChai 2021-05-15 02:09:37 -04:00
  • fb20c4c3d4 Update docs for (Partial)Message.publish to reflect the actual permissions needed Alex Nørgaard 2021-05-15 07:08:16 +01:00
  • ee3e2944ba Add Colour.fuchsia and Colour.yellow Arnav Jindal 2021-05-15 11:37:45 +05:30
  • 9d114fb066 Fix for doc reference to python "raise" statement ChasL 2021-05-14 23:06:50 -07:00
  • 9b4e820bbe Document Invite.inviter as optional Stanisław Jelnicki 2021-05-13 02:34:44 +02:00
  • 5fa64e83e0 Fix issues with imports causing NameErrors Josh 2021-05-13 10:24:28 +10:00
  • 124c4a3919 Add Template.url Sebastian Law 2021-05-12 03:38:26 -07:00
  • ef22178dee [tasks] Type hint the tasks extension Josh 2021-05-12 20:31:40 +10:00
  • f5727ff0d0 [tasks] fix regular task loops Sebastian Law 2021-05-10 17:25:16 -07:00
  • 757cfad38f Type up **kwargs of various methods Nadir Chowdhury 2021-05-11 01:24:48 +01:00
  • 8bc489dba8 [tasks] Add support for explicit time parameter Sebastian Law 2021-05-09 20:27:43 -07:00
  • 8b2241916a Typehint Widget Josh 2021-05-10 13:22:12 +10:00
  • d5e14eb715 [commands] Fix a minor grammar error in MaxConcurrencyReached Jay3332 2021-05-07 07:38:44 -04:00
  • 2a6d79078e [commands] Add GuildChannelConverter sudosnok 2021-05-07 12:37:42 +01:00
  • 7ebfface22 Explicitly ignore legacy file reference errors in sphinx -n mode Josh 2021-05-06 23:12:19 +10:00
  • de965c2bf5 Simplify SnowflakeList type hints Rapptz 2021-05-06 08:23:18 -04:00
  • 2e12f6de9c Typehint File Rapptz 2021-05-06 08:15:51 -04:00
  • 3864fb37a0 Fix various reference issues in documentation Josh 2021-05-06 21:51:07 +10:00
  • 1bf7aadf94 Typehint emoji classes Rapptz 2021-05-05 23:48:36 -04:00
  • 7bad27d215 Fix SnowflakeList typings Rapptz 2021-05-05 23:23:30 -04:00
  • ca92f37f18 Fix typings in message.py Rapptz 2021-05-05 23:04:34 -04:00
  • 81004369dc Add Guild.fetch_channel Rapptz 2021-05-05 14:26:33 -04:00
  • 598057ee79 Add Permissions.manage_events Rapptz 2021-05-05 14:16:39 -04:00
  • c31946f29f Type hint GuildChannel and don't make it a Protocol Rapptz 2021-05-05 11:14:58 -04:00
  • 7fde57c89a Type-hint object.py Josh 2021-05-06 00:29:07 +10:00
  • c69b20c52c Type hint colour.py Josh 2021-05-06 00:27:52 +10:00
  • 6622be9f46 Make GuildChannel inherit Snowflake Josh 2021-05-05 21:42:39 +10:00