aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-04-07 22:31:05 -0400
committerRapptz <[email protected]>2019-04-07 22:31:05 -0400
commitaeabd0761e083e28d528c74072cc181a1c71dc64 (patch)
tree6115bf9603e752eb08695dd9ed449eca68723d1b /discord/client.py
parentDon't raise an exception during the signal handlers. (diff)
downloaddiscord.py-aeabd0761e083e28d528c74072cc181a1c71dc64.tar.xz
discord.py-aeabd0761e083e28d528c74072cc181a1c71dc64.zip
[commands] Raise TypeError instead of ClientException in some places
Certain decorators and functions expect coroutines and raise an exception when this is not met. Change these to raise the appropriate TypeError since they can't actually be handled by the user gracefully anyway.
Diffstat (limited to 'discord/client.py')
0 files changed, 0 insertions, 0 deletions