Commit Graph

  • 0903ea949f Add typings for Message, Emoji, and Member Nadir Chowdhury 2021-04-08 06:51:42 +01:00
  • e895a53713 [commands] Add StageChannelConverter to documentation Rapptz 2021-04-08 00:44:02 -04:00
  • 1c553f51fb [commands] Use has_error_handler instead in command_error pikaninja 2021-04-07 20:42:52 -07:00
  • cc6edccc0c Make the bot template use f-strings over str.format Kallum 2021-04-08 02:38:01 +01:00
  • f8bea3bb05 Fix inaccuracies with AsyncIterator typings Nadir Chowdhury 2021-04-08 01:28:12 +01:00
  • 87e64dff06 Add typings for channels and PartialUser Nadir Chowdhury 2021-04-07 12:56:56 +01:00
  • 83fe98c20d Add typing for flags Nadir Chowdhury 2021-04-07 12:55:55 +01:00
  • 4c72137e43 [docs] add note for possible Embed.type strings Sebastian Law 2021-04-07 04:17:57 -07:00
  • a43ea5c550 Fix regression in Activity relying on try_enum Nadir Chowdhury 2021-04-07 12:17:04 +01:00
  • ece7064e64 [docs] add label to basic converters section Sebastian Law 2021-04-07 04:12:52 -07:00
  • a9d5c0aa3b Fix headers in partial webhook channel and guild objects Rapptz 2021-04-07 06:37:09 -04:00
  • b818296c21 Remove type hints from generated docs Rapptz 2021-04-07 06:35:29 -04:00
  • f49d565d51 Rename discord.types file based on relevant core module file Rapptz 2021-04-07 05:50:54 -04:00
  • 23fe6b46dd Typehint discord.Embed and introduce discord.types subpackage Rapptz 2021-04-07 05:38:01 -04:00
  • bda3afcad7 [commands] Update Converter list in ext.commands introduction Shun Tannai 2021-04-07 16:20:35 +09:00
  • f80b8d3f5d [commands] Only replace annotation if one was given Rapptz 2021-04-07 03:17:10 -04:00
  • 89456022cf Add __all__ to remaining modules Nadir Chowdhury 2021-04-07 07:30:32 +01:00
  • ed1341012b Add Embed.__bool__ Rapptz 2021-04-07 00:00:44 -04:00
  • 1d5805ebcb Revert "Remove unused group functionality" Rapptz 2021-04-06 23:48:11 -04:00
  • 3c9aed9102 Fix AttributeError on HTTPClient.send_file to be send_files Steve C 2021-04-07 00:01:48 -04:00
  • 7f0a398c1e Use format_map instead of format for Route.url Nadir Chowdhury 2021-04-07 04:44:44 +01:00
  • ad68a1d04e Add source_channel and source_guild to Webhook Zomatree 2021-04-07 04:31:18 +01:00
  • 9f0c701a7a use typing.AsyncIterator for iterators Nadir Chowdhury 2021-04-07 04:26:31 +01:00
  • 7a34de1570 [commands] Use typing.get_type_hints to resolve ForwardRefs Nadir Chowdhury 2021-04-07 04:24:23 +01:00
  • 72275a73fa Use non-underscore TypeVar in enum code Rapptz 2021-04-06 07:35:02 -04:00
  • 7e3c5f3faf Fix some regressions from create_task change Rapptz 2021-04-06 07:31:31 -04:00
  • d69b2f0af5 Remove unused group functionality Rapptz 2021-04-06 07:12:15 -04:00
  • 84e2ff0bc7 Reformat HTTPClient and add interaction endpoints Rapptz 2021-04-06 05:25:50 -04:00
  • 008432c76a Make enum code work with typecheckers Rapptz 2021-03-31 09:51:09 -04:00
  • 8cece19b22 Add on_interaction event and Interaction class. Rapptz 2021-03-28 11:07:51 -04:00
  • 1e7f139313 Add support for setting application_id Rapptz 2021-03-28 08:28:39 -04:00
  • 9ab58d302d [commands] Fix classmethod converters not working. Rapptz 2021-04-05 23:52:28 -04:00
  • ee5bb07c02 [commands] Revert conversion code back to how it was originally Rapptz 2021-04-05 23:24:47 -04:00
  • 0efb720cec [commands] Fix AttributeError for classes missing convert attribute ToxicKidz 2021-04-05 23:12:27 -04:00
  • 8da6b47a36 Update changelog for v1.7.1 Rapptz 2021-04-05 21:21:29 -04:00
  • 6d74514729 [commands] Fix logic in Cog.has_error_handler() Rapptz 2021-04-05 21:08:54 -04:00
  • 682b73abb6 [commands] Address incorrect use of subclass (from type perspective) Michael H 2021-04-05 21:39:17 -04:00
  • d0476e98df [commands] Add more type information to public API of converters Michael H 2021-04-05 21:31:28 -04:00
  • 8517f1e085 Version bump to v1.7.1 v1.7.1 Rapptz 2021-04-05 21:14:07 -04:00
  • 0a4be8f83c Update changelog for v1.7.1 Rapptz 2021-04-05 21:21:29 -04:00
  • 56faa98e4b Fix versionadded not showing in docs for Attachment.content_type Logan 2021-04-06 01:24:04 +01:00
  • 1b2c527fc7 [commands] Fix logic in Cog.has_error_handler() Rapptz 2021-04-05 21:08:54 -04:00
  • 686a54eb10 Remove 3.6 check for loop.shutdown_asyncgens() Nadir Chowdhury 2021-04-06 01:31:45 +01:00
  • 2ff24a27b5 Use asyncio.create_task over asyncio.ensure_future Nadir Chowdhury 2021-04-06 01:31:03 +01:00
  • 7a7c4b4d62 Remove fail-safe for retrieving all tasks Nadir Chowdhury 2021-04-06 01:29:37 +01:00
  • 83bd76504a Use covariant TypeVar for protocol Michael H 2021-04-05 20:29:15 -04:00
  • fbe6e2f520 [commands] Fix @classmethod converters Michael H 2021-04-05 20:25:23 -04:00
  • 3abb2fde56 Fix versionadded not showing in docs for Attachment.content_type Logan 2021-04-06 01:24:04 +01:00
  • 88be8cc5be Remove deprecated client methods Vaskel 2021-04-05 17:44:05 -04:00
  • a3a6f88936 Add discord.utils.utcnow() helper function to ease migration Rapptz 2021-04-04 23:59:04 -04:00
  • 93a92e6e1b Remove special casing of MAX_ASYNCIO_SECONDS in sleep_until Rapptz 2021-04-04 23:55:15 -04:00
  • ff7094ce96 Convert datetimes to aware datetimes with UTC. Rapptz 2021-04-04 23:54:08 -04:00
  • fd58371f53 Remove some lingering userbot classes in the documentation Rapptz 2021-04-04 20:05:19 -04:00
  • 7ba437cece Use 3.8 for ReadTheDocs builds Rapptz 2021-04-04 20:01:37 -04:00
  • 34ab772653 Use typing.Protocol instead of abc.ABCMeta James 2021-04-04 23:05:49 +01:00
  • fe54b3cb92 Flatten AsyncIterator.flatten James 2021-04-04 22:46:15 +01:00
  • 54288879e2 Remove userbot functionality Rapptz 2021-04-04 10:09:25 -04:00
  • 59aa1a0e5f Remove asyncio.Task subclass in preference to task names Rapptz 2021-04-04 07:24:42 -04:00
  • 94bd1b9822 Convert two missing places to f-strings Rapptz 2021-04-04 07:17:03 -04:00
  • 4d44872511 Remove encoding header from generated code Rapptz 2021-04-04 07:06:50 -04:00
  • adaf7c6192 [commands] Use positional only parameter for Context.invoke Rapptz 2021-04-04 06:21:30 -04:00
  • 9d39b135f4 Modernize code to use f-strings Rapptz 2021-04-04 04:40:19 -04:00
  • 9fc2ab9c99 Bump minimum Python version to 3.8 Rapptz 2021-04-04 03:54:00 -04:00
  • 68e379bc8b Version bump for development Rapptz 2021-04-04 03:53:26 -04:00
  • 757dd92272 Version bump to v1.7 v1.7.0 Rapptz 2021-04-04 00:54:10 -04:00
  • f6df66a971 Add missing documentation for StoreChannelConverter Rapptz 2021-04-04 00:21:15 -04:00
  • 6d63cf0d5d Add missing StoreChannel documentation Rapptz 2021-04-04 00:17:59 -04:00
  • 834a7d80aa Fix StoreChannel reference in changelog Rapptz 2021-04-04 00:04:30 -04:00
  • f8964b1b32 Add content_type to changelog Rapptz 2021-04-03 23:33:03 -04:00
  • f8d7be5b78 Add content_type to Attachment Zomatree 2021-04-04 04:26:28 +01:00
  • 5b244a7002 Add changelog for v1.7 Rapptz 2021-04-03 23:08:55 -04:00
  • efc30a146e Guard for None in VocalGuildChannel.members Rapptz 2021-04-03 23:08:03 -04:00
  • 421c0cd455 [commands] Add missing versionadded on StoreChannelConverter Rapptz 2021-04-03 22:54:21 -04:00
  • e961fdeae0 Rework the reaction roles example Nadir Chowdhury 2021-04-04 03:52:11 +01:00
  • 36318bd45c [commands] Add StoreChannelConverter DoggieLicc 2021-04-03 22:50:17 -04:00
  • 1b2688518e Implement StageChannel and related methods Nadir Chowdhury 2021-04-04 03:43:41 +01:00
  • e8a9726ad2 [docs] Add rtc_region parameter for Guild.create_voice_channel Nadir Chowdhury 2021-04-03 01:10:31 +01:00
  • 6524869ddd Implement voice region changing for voice channels Tarek 2021-04-01 09:49:45 +02:00
  • 3576e2ee01 Add support for Permissions.request_to_speak Rapptz 2021-04-01 00:52:21 -04:00
  • 6887d3946a [docs] Fix fetch_members/guilds documentation Nadir Chowdhury 2021-04-01 02:27:40 +01:00
  • e66141e002 [docs] suggest presence in constructor instead of change_presence Mikey 2021-03-31 18:26:51 -07:00
  • 954dd09e18 Deprecate Client.logout apple502j 2021-03-31 20:30:41 +09:00
  • 8a24a93010 Bring back older background task example under a new name Rapptz 2021-03-30 20:29:03 -04:00
  • e359aeb122 Fix background_task example to actually work Rapptz 2021-03-30 20:28:41 -04:00
  • 5ed47cacc7 Update background_task example to use ext.tasks Sebastian Law 2021-03-30 17:24:28 -07:00
  • 0c3be9713d Raise error if position could not be resolved in GuildChannel.move Rapptz 2021-03-30 04:11:06 -04:00
  • 7f0db1f35a Return early if no kwargs are given to GuildChannel.move Rapptz 2021-03-30 03:54:58 -04:00
  • a30ad6acf2 Ignore moving category channels to another category Rapptz 2021-03-30 03:51:06 -04:00
  • b850c9cd5d Add GuildChannel.move helper method to help with moving channels Rapptz 2021-03-30 03:21:09 -04:00
  • f60e91d700 Add support for fail_if_not_exists in MessageReference Lilly Rose Berner 2021-03-30 06:26:17 +02:00
  • d6501159e7 [docs] copy signature from overridden and inherited methods Sebastian Law 2021-03-29 20:52:14 -07:00
  • 862d509d2e [commands] Add support for stripping whitespace after the prefix Rapptz 2021-03-28 21:21:09 -04:00
  • c4c2cbf6d2 [commands] Remove nullability from help command implementation Rapptz 2021-03-28 18:51:58 -04:00
  • 4d4c19f9b5 deprecate User.relationships Nadir Chowdhury 2021-03-28 23:39:15 +01:00
  • 31ee3fafc1 Add remove_markdown helper function Edwin 2021-03-29 00:38:34 +02:00
  • 4aee7fed5d [commands] Only remove top level commands on cog load failure Rapptz 2021-03-28 18:35:59 -04:00
  • a4d29e8cfd Add scopes to utils.oauth_url Nihaal Sangha 2021-03-28 11:33:24 +01:00
  • d61486278f [commands] allow arbitrary callables in cooldown Mikey 2021-03-28 03:31:51 -07:00
  • baa1ab058b Add an optional seed parameter for Colour.random Maselkov 2021-03-28 12:28:35 +02:00
  • 8657edfc99 Fallback to empty string for unavailable guild __str__ Rapptz 2021-03-25 09:11:00 -04:00