Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
2020.10.11
Browse files Browse the repository at this point in the history
  • Loading branch information
NCPlayz committed Oct 11, 2020
1 parent e4534b7 commit 01b1ec7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Changelog
=========

.. _id_20201011:

``2020.10.11``
--------------

- Added ``binary_checks``.
- Add a ``py_allow`` function for restricting Python versions.
- Fix issues with `literal_converter`
- Fix a name error with ``converter_dict``
- Simplify ``converter_dict`` to work with ``typing.Union``

.. _id_20200730:

``2020.07.30``
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Available Experiments

- ``asset_converter`` - Implements a converter for ``Asset``.
- ``bot_send_help`` - Implements ``Bot.send_help``.
- ``binary_checks`` - Implements `OR`, `AND`, `NOT` operators for command checks.
- ``command_suffix`` - Implements ``Bot.command_suffix`` and ``Context.suffix``.
- ``command_piping`` - Implements piping for ``return`` in command callbacks
- ``converter_dict`` - Implements ``Bot.converters``.
Expand Down
4 changes: 2 additions & 2 deletions discord/ext/alternatives/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from collections import namedtuple


__version__ = "2020.07.30"
__version__ = "2020.10.11"

_VersionInfo = namedtuple("_VersionInfo", "major minor micro releaselevel serial")
version_info = _VersionInfo(major=2020, minor=7, micro=30, releaselevel="stable", serial=0)
version_info = _VersionInfo(major=2020, minor=10, micro=11, releaselevel="stable", serial=0)
2 changes: 2 additions & 0 deletions discord/ext/alternatives/binary_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ async def no(ctx):
"""
from discord.ext import commands
import inspect
from ._common import py_allow

py_allow(3, 9, 0)

class CheckDecorator:
def __init__(self, predicate):
Expand Down

0 comments on commit 01b1ec7

Please sign in to comment.