Commit Graph

  • d0d2d7ea62 Clarify actions that require manage_threads permission Rapptz 2021-05-05 20:51:06 -04:00
  • 5a72391b72 Add thread related permissions Rapptz 2021-05-04 10:42:13 -04:00
  • 3a421a3eb9 Add TextChannel.get_thread shortcut helper Rapptz 2021-05-04 10:15:00 -04:00
  • b2176dc0ef Change how threads are created Rapptz 2021-05-04 10:09:05 -04:00
  • 40127eb7b5 Fix import error with threads archived iterator Rapptz 2021-05-04 10:04:38 -04:00
  • b9d8d3872e Add __repr__ for the thread classes Rapptz 2021-05-04 09:45:27 -04:00
  • 429c5933d9 Add minor parsing for THREAD_LIST_SYNC and THREAD_MEMBER_UPDATE Rapptz 2021-05-04 09:41:35 -04:00
  • a16f54afdb Replace Ellipsis with utils.MISSING Rapptz 2021-05-04 08:53:17 -04:00
  • a09f89cedf Fix partial thread members Rapptz 2021-05-04 08:51:12 -04:00
  • c6d09a8bfa Add Thread.is_news() Rapptz 2021-05-04 08:37:26 -04:00
  • 72c66a1706 Bump gateway API to v9 Rapptz 2021-05-04 08:23:38 -04:00
  • 4a4e73ec14 Update thread typings and payloads to match documentation Rapptz 2021-05-04 08:13:33 -04:00
  • ac95b8b85b Allow Message.channel to be a thread Rapptz 2021-05-02 23:28:30 -04:00
  • 51cc7622a6 TextChannel.archived_threads is not a coroutine Rapptz 2021-04-17 01:33:35 -04:00
  • cb9a506686 Fix typo with archived_threads iterator leading to AttributeError Rapptz 2021-04-17 01:16:20 -04:00
  • 7c6724fdd7 Fix typo in start_private_thread Rapptz 2021-04-16 05:13:31 -04:00
  • 9d3962aa7a [types] Fix some minor ordering mishap on MessageType Rapptz 2021-04-14 09:45:11 -04:00
  • c1ce3b949f Implement remaining HTTP endpoints on threads Rapptz 2021-04-14 09:42:38 -04:00
  • 68c7c538f5 First pass at preliminary thread support Rapptz 2021-04-14 05:05:47 -04:00
  • 6c79714b42 [types] Add support thread API typings Rapptz 2021-04-14 01:12:40 -04:00
  • 4724943861 Grammatical improvements in View documentation UP929312 2021-06-08 11:54:10 +01:00
  • 5c2945bcd4 Fix AttributeError in is_nsfw() methods Rapptz 2021-06-08 05:36:23 -04:00
  • 94bbdc154c update types subpackage with latest docs Nadir Chowdhury 2021-06-08 04:20:47 +01:00
  • a7ae2eb1bb Add Guild.nsfw_level Nadir Chowdhury 2021-06-08 04:20:04 +01:00
  • dd727fb6f4 Add Embed.remove_footer Arnav Jindal 2021-06-07 13:03:11 +05:30
  • ab6d592f8c Add support for integration create/update/delete events Nadir Chowdhury 2021-06-07 08:28:26 +01:00
  • 2ea2693bd7 Add the Guild.delete_custom_emoji method TheLeadingLlama 2021-05-29 15:53:07 -04:00
  • fb0c6c56e1 Return message content for replies in Message.system_content Lilly Rose Berner 2021-06-06 23:31:32 +02:00
  • 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