Commit Graph

  • 81e9d70b7b Add pre-conditions to avoid on_timeout being called after stop() Rapptz 2021-06-06 07:05:17 -04:00
  • 876b1e0f3e Add View.on_error callback for swallowed exceptions Rapptz 2021-06-05 08:18:45 -04:00
  • 27556ea0a2 Fix DM channel permissions not having read_messages Rapptz 2021-06-05 02:53:30 -04:00
  • dbd9ed2c41 Add View.is_dispatching to detect whether a view has been added Rapptz 2021-06-04 04:30:19 -04:00
  • 9e4bcd3df7 Fix some typos in custom_context example Aman Kumar 2021-06-02 16:01:58 +05:30
  • 4b1059579e Fix NameError in missing _EmojiTag import Rapptz 2021-06-02 06:00:39 -04:00
  • 47f2d04940 Allow passing Emoji in components Rapptz 2021-06-02 05:28:07 -04:00
  • be5f4ae4ab Properly type hint attributes in Emoji Rapptz 2021-06-02 05:15:56 -04:00
  • 2f0a2b244e Update documentation for on_voice_state_update xPolar 2021-06-02 01:03:53 -07:00
  • 0847085661 Add support for editing guild widgets MhmCats 2021-06-02 07:39:08 +01:00
  • 369951fd80 Typehint audit_logs.py James 2021-06-02 07:28:47 +01:00
  • bac6c2fc7b [commands] Unwrap functions to get their module and globalns Rapptz 2021-06-01 08:51:35 -04:00
  • 78275023cc Add Client.persistent_views to get all persistent views Rapptz 2021-05-31 23:15:12 -04:00
  • 7c40e83d10 Ensure views added to Client.add_view are persistent views Rapptz 2021-05-31 23:08:08 -04:00
  • c811932ca7 Don't mark URL buttons as dispatchable Rapptz 2021-05-31 22:57:44 -04:00
  • 09f0ed1fba Mention that rows are explicitly 0 indexed. Rapptz 2021-05-31 20:19:08 -04:00
  • 89d24cb0bc Add interaction enums to __all__ Rapptz 2021-05-31 05:56:50 -04:00
  • d0097c4281 Remove view syncing before editing in views Rapptz 2021-05-31 05:47:46 -04:00
  • 4a3491cc0a Check for view finished state before resuming listening on edit Rapptz 2021-05-31 00:18:06 -04:00
  • 8dafe4f544 Add support for editing in views in PartialMessage Rapptz 2021-05-31 00:17:35 -04:00
  • 2ed3e049e1 Add View.is_finished() to query listening state Rapptz 2021-05-31 00:12:08 -04:00
  • 61a189c217 Sync views in InteractionResponse.edit_message Rapptz 2021-05-31 00:09:15 -04:00
  • 9f98a9a87f Implement StageInstance Nadir Chowdhury 2021-05-30 18:51:52 +01:00
  • 90a28d48d5 Fix potential KeyError when removing views Rapptz 2021-05-30 12:17:16 -04:00
  • 7b1c57ed60 Add support for interaction followups Rapptz 2021-05-30 11:25:15 -04:00
  • 2ebd5315f9 Add support for sending and editing views in Webhook Rapptz 2021-05-30 11:25:00 -04:00
  • c9cdb47338 Add __repr__ for View Rapptz 2021-05-30 11:24:23 -04:00
  • db58e628ba Allow Webhook.send to send ephemeral messages Rapptz 2021-05-30 10:29:17 -04:00
  • 267fad9180 Add WebhookType.application Rapptz 2021-05-30 10:02:58 -04:00
  • 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