about summary refs log tree commit diff stats
path: root/discord/utils/rest.py
diff options
context:
space:
mode:
authorNoah <mounderfod@gmail.com>2022-07-09 19:03:31 +0100
committerNoah <mounderfod@gmail.com>2022-07-09 19:03:31 +0100
commitfabbc3ac7a6a39dbb6c44512ec4bf17ac2745126 (patch)
tree2f2dbcc9de4646211bffe789587df31e45a0c138 /discord/utils/rest.py
parent5d1b2e09c330f39bdb98e7e906f8a72bcf9c90ab (diff)
downloaddiscobra-fabbc3ac7a6a39dbb6c44512ec4bf17ac2745126.tar.gz
chore: Reformat code
Diffstat (limited to 'discord/utils/rest.py')
-rw-r--r--discord/utils/rest.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/discord/utils/rest.py b/discord/utils/rest.py
index 919d54d..53853ed 100644
--- a/discord/utils/rest.py
+++ b/discord/utils/rest.py
@@ -2,6 +2,7 @@ import aiohttp
 
 from discord.utils.exceptions import APIException
 
+
 class RESTClient:
     def __init__(self, token: str, session: aiohttp.ClientSession):
         self.token = token
@@ -16,7 +17,6 @@ class RESTClient:
                 case other:
                     raise APIException(data['message'])
 
-
     async def post(self, url: str, data):
         async with self.session.post(url='https://discord.com/api/v10' + url, data=data) as r:
             data = await r.json()
@@ -26,7 +26,6 @@ class RESTClient:
                 case other:
                     raise APIException(data['message'])
 
-
     async def patch(self, url, data):
         async with self.session.patch(url='https://discord.com/api/v10' + url, data=data) as res:
             data = await res.json()
@@ -36,7 +35,6 @@ class RESTClient:
                 case other:
                     raise APIException(data['message'])
 
-
     async def delete(self, url):
         async with self.session.delete(url='https://discord.com/api/v10' + url) as r:
             data = await r.json()