diff options
| author | Rapptz <[email protected]> | 2016-11-22 19:59:28 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-11-22 19:59:28 -0500 |
| commit | 59d17e41370e7f31e93170e05b12a4aff7d171ae (patch) | |
| tree | 512548a668fee0df762cf0a8c3244ef05bcc4deb | |
| parent | [commands] Remove slots on Context. (diff) | |
| download | discord.py-59d17e41370e7f31e93170e05b12a4aff7d171ae.tar.xz discord.py-59d17e41370e7f31e93170e05b12a4aff7d171ae.zip | |
Version bump to v0.15.0v0.15.0
| -rw-r--r-- | discord/__init__.py | 4 | ||||
| -rw-r--r-- | docs/whats_new.rst | 24 |
2 files changed, 25 insertions, 3 deletions
diff --git a/discord/__init__.py b/discord/__init__.py index f2077a7e..fa68d8b0 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -15,7 +15,7 @@ __title__ = 'discord' __author__ = 'Rapptz' __license__ = 'MIT' __copyright__ = 'Copyright 2015-2016 Rapptz' -__version__ = '0.14.3' +__version__ = '0.15.0' from .client import Client, AppInfo, ChannelPermissions from .user import User @@ -43,7 +43,7 @@ import logging VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial') -version_info = VersionInfo(major=0, minor=14, micro=3, releaselevel='final', serial=0) +version_info = VersionInfo(major=0, minor=15, micro=0, releaselevel='final', serial=0) try: from logging import NullHandler diff --git a/docs/whats_new.rst b/docs/whats_new.rst index 6967062b..5a5e7b08 100644 --- a/docs/whats_new.rst +++ b/docs/whats_new.rst @@ -8,7 +8,29 @@ What's New This page keeps a detailed human friendly rendering of what's new and changed in specific versions. -.. _vp014p3: +.. _vp0p15p0: + +v0.15.0 +-------- + +New Features +~~~~~~~~~~~~~~ + +- Rich Embeds for messages are now supported. + + - To do so, create your own :class:`Embed` and pass the instance to the ``embed`` keyword argument to :meth:`Client.send_message` or :meth:`Client.edit_message`. +- Add :meth:`Client.clear_reactions` to remove all reactions from a message. +- Add support for MESSAGE_REACTION_REMOVE_ALL event, under :func:`on_reaction_clear`. +- Add :meth:`Permissions.update` and :meth:`PermissionOverwrite.update` for bulk permission updates. + + - This allows you to use e.g. ``p.update(read_messages=True, send_messages=False)`` in a single line. +- Add :meth:`PermissionOverwrite.is_empty` to check if the overwrite is empty (i.e. has no overwrites set explicitly as true or false). + +For the command extension, the following changed: + +- ``Context`` is no longer slotted to facilitate setting dynamic attributes. + +.. _vp0p14p3: v0.14.3 --------- |