From 732cab7c5cea452f47c3d2086ce717bb1264fb41 Mon Sep 17 00:00:00 2001 From: iDutchy Date: Tue, 12 Jan 2021 21:57:23 -0600 Subject: [PATCH] Works, so added to dos. + little cleanup --- docs/custom_features.rst | 35 ++++++++++++++++++----------------- docs/whats_new.rst | 1 + 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/docs/custom_features.rst b/docs/custom_features.rst index ac63e54d..59710ff2 100644 --- a/docs/custom_features.rst +++ b/docs/custom_features.rst @@ -11,22 +11,23 @@ Custom Features Here are the custom features listed that have been added to enhanced-dpy. You can refer to the changelog to see in what version they were added! - **Documentation URL:** https://enhanced-dpy.readthedocs.io/en/latest/index.html -- Added ``Guild.bots`` / ``Guild.humans`` -- Added ``Bot.owner`` / ``Bot.owners`` -- Added ``Client.try_user`` / ``Bot.try_user`` -- ``Guild.icon_url`` and ``User.avatar_url`` return the string in stead of Asset. use icon/avatar url_as to get the Asset +- Added :attr:`Guild.bots` / :attr:`Guild.humans` +- Added :attr:`Bot.owner` / :attr:`Bot.owners` +- Added :meth:`Client.try_user` / :meth:`Bot.try_user` +- :attr:`Guild.icon_url` and :attr:`User.avatar_url` return the string in stead of Asset. use icon/avatar url_as to get the :class:`Asset` - Merged in ext-colors (https://github.com/MGardne8/DiscordPyColours) - Using Rapptz/discord.py/tree/neo-docs for documentation -- Added support for ``hex()`` to ``discord.Color`` -- Added ``Client.embed_color`` / ``Bot.embed_color`` -- Added ``Client.set_embed_color`` / ``Bot.set_embed_color`` -- Added ``TextChannel.can_send`` -- Added ``Intents.from_list`` -- Added support for ``int()`` to ``discord.User``, ``discord.Member``, ``discord.Emoji``, ``discord.Role``, ``discord.Guild``, ``discord.Message``, ``discord.TextChannel``, ``discord.VoiceChannel``, ``discord.CategoryChannel``, ``discord.Attachment`` and ``discord.Message``. This will return their id -- Added support for ``str()`` to ``discord.Message``. This will return the message content -- Added ``Guild.try_member`` -- Added ``Context.clean_prefix`` -- Added ``Color.nitro_booster`` -- Added ``Permissions.admin`` as alias to ``Permissions.administrator`` -- Added ``Cog.aliases`` -- Added ``Bot.case_insensitive_prefix`` \ No newline at end of file +- Added support for ``hex()`` to :class:`Color` +- Added :attr:`Client.embed_color` / :attr:`Bot.embed_color` +- Added :meth:`Client.set_embed_color` / :meth:`Bot.set_embed_color` +- Added :attr:`TextChannel.can_send` +- Added :meth:`Intents.from_list` +- Added support for ``int()`` to :class:`User`, :class:`Member`, :class:`Emoji`, :class:`Role`, :class:`Guild`, :class:`Message`, :class:`TextChannel`, :class:`VoiceChannel`, :class:`CategoryChannel`, :class:`Attachment` and :class:`Message`. This will return their id +- Added support for ``str()`` to :class:`Message`. This will return the message content +- Added :meth:`Guild.try_member` +- Added :attr:`Context.clean_prefix` +- Added :meth:`Color.nitro_booster` +- Added :attr:`Permissions.admin` as alias to :attr:`Permissions.administrator` +- Added :attr:`Cog.aliases` +- Added :attr:`Bot.case_insensitive_prefix` +- Added ``silent`` kwarg to :meth:`Message.delete` \ No newline at end of file diff --git a/docs/whats_new.rst b/docs/whats_new.rst index acf82752..4851d64d 100644 --- a/docs/whats_new.rst +++ b/docs/whats_new.rst @@ -21,6 +21,7 @@ New Features - Add :attr:`Cog.aliases` - Add :attr:`Bot.case_insensitive_prefix` +- Add ``silent`` kwargs to :meth:`Message.delete` .. _vp1p5p1p6: