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

Commit 01b1ec7

Browse files
committed
2020.10.11
1 parent e4534b7 commit 01b1ec7

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Changelog
22
=========
33

4+
.. _id_20201011:
5+
6+
``2020.10.11``
7+
--------------
8+
9+
- Added ``binary_checks``.
10+
- Add a ``py_allow`` function for restricting Python versions.
11+
- Fix issues with `literal_converter`
12+
- Fix a name error with ``converter_dict``
13+
- Simplify ``converter_dict`` to work with ``typing.Union``
14+
415
.. _id_20200730:
516

617
``2020.07.30``

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Available Experiments
3333

3434
- ``asset_converter`` - Implements a converter for ``Asset``.
3535
- ``bot_send_help`` - Implements ``Bot.send_help``.
36+
- ``binary_checks`` - Implements `OR`, `AND`, `NOT` operators for command checks.
3637
- ``command_suffix`` - Implements ``Bot.command_suffix`` and ``Context.suffix``.
3738
- ``command_piping`` - Implements piping for ``return`` in command callbacks
3839
- ``converter_dict`` - Implements ``Bot.converters``.

discord/ext/alternatives/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from collections import namedtuple
1515

1616

17-
__version__ = "2020.07.30"
17+
__version__ = "2020.10.11"
1818

1919
_VersionInfo = namedtuple("_VersionInfo", "major minor micro releaselevel serial")
20-
version_info = _VersionInfo(major=2020, minor=7, micro=30, releaselevel="stable", serial=0)
20+
version_info = _VersionInfo(major=2020, minor=10, micro=11, releaselevel="stable", serial=0)

discord/ext/alternatives/binary_checks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ async def no(ctx):
2727
"""
2828
from discord.ext import commands
2929
import inspect
30+
from ._common import py_allow
3031

32+
py_allow(3, 9, 0)
3133

3234
class CheckDecorator:
3335
def __init__(self, predicate):

0 commit comments

Comments
 (0)