From ae8e010b3735761156ac01307bf90520ab3f385d Mon Sep 17 00:00:00 2001 From: Noah Date: Sat, 9 Jul 2022 13:11:20 +0100 Subject: feat(http): Add basic API for sending HTTP requests Also added some new stuff to `User` since it has changed since it was last used. --- discord/utils/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 discord/utils/exceptions.py (limited to 'discord/utils/exceptions.py') diff --git a/discord/utils/exceptions.py b/discord/utils/exceptions.py new file mode 100644 index 0000000..a7f035c --- /dev/null +++ b/discord/utils/exceptions.py @@ -0,0 +1,3 @@ +class APIException(Exception): + """Raised when the Discord API returns an error.""" + -- cgit 1.4.1-2-gfad0