aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-07-21 23:53:16 -0400
committerRapptz <[email protected]>2016-07-21 23:53:16 -0400
commit5010e7dc559791caf1fb75639521b87dd559b70a (patch)
tree1df935da97a38f6aacb59c5ae9744eade678b586 /examples
parentFix SyntaxError in constructing VoiceState for Python 3.4 (diff)
downloaddiscord.py-5010e7dc559791caf1fb75639521b87dd559b70a.tar.xz
discord.py-5010e7dc559791caf1fb75639521b87dd559b70a.zip
[commands] Add UserInputError into the exception hierarchy.
This is for exceptions that are inherently based on user errors and not permission based. e.g. passing incorrect number of arguments, too many arguments, or an invalid argument. CommandNotFound is not classified under this since it isn't inherently a user input error in all cases. Some invalid commands can simply be due to an odd bot prefix. It would also diminish the usefulness of the new parent class if CommandNotFound was included.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions