diff --git a/revolt/http.py b/revolt/http.py index 8ce0bea..de2a2c4 100755 --- a/revolt/http.py +++ b/revolt/http.py @@ -94,7 +94,8 @@ async def upload_file(self, file: File, tag: Literal["attachments", "avatars", " url = f"{self.api_info['features']['autumn']['url']}/{tag}" headers = { - "User-Agent": "Revolt.py (https://github.com/revoltchat/revolt.py)" + "User-Agent": "Revolt.py (https://github.com/revoltchat/revolt.py)", + self.auth_header: self.token } form = aiohttp.FormData()