aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-06-12 04:45:48 +0200
committerRapptz <[email protected]>2018-06-29 21:48:30 -0400
commita93c3d931ca6fa069af591ff92886617ec7abe58 (patch)
treed3d33c6d77e3e4f8f782f05ffb1a9a859966ca81 /examples
parentdocs/mimgrating.rst: CPython 3.5.2 is not supported! (diff)
downloaddiscord.py-a93c3d931ca6fa069af591ff92886617ec7abe58.tar.xz
discord.py-a93c3d931ca6fa069af591ff92886617ec7abe58.zip
[commands] Change command_prefix behaviour
Change the behaviour of handling iterable command_prefix types to not silently ignore falsy prefixes and unify behaviour for all iterable types. Add special handling of a possible TypeError in both get_prefix and get_context for when the prefix is a different type from what is expected.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions