diff options
| author | Rapptz <[email protected]> | 2019-04-07 22:31:05 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-07 22:31:05 -0400 |
| commit | aeabd0761e083e28d528c74072cc181a1c71dc64 (patch) | |
| tree | 6115bf9603e752eb08695dd9ed449eca68723d1b /discord/opus.py | |
| parent | Don't raise an exception during the signal handlers. (diff) | |
| download | discord.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/opus.py')
0 files changed, 0 insertions, 0 deletions