Added functionality to edit user settings

Changing docs to fit other parts of the lib

Co-Authored-By: CapnS <38225872+CapnS@users.noreply.github.com>

Removing Type Checking

Made all of Rapptz's suggested changes

Removing imports that are no longer needed
This commit is contained in:
CapnSandCapnS authored and Rapptz committed 2019-03-28 17:33:39 -04:00
1 parent 43b44751af
commit 4ec7213506
3 files changed
+127 -1

No files matched your search

+3
View File
@@ -809,3 +809,6 @@ class HTTPClient:
def leave_hypesquad_house(self):
return self.request(Route('DELETE', '/hypesquad/online'))
def edit_settings(self, **payload):
return self.request(Route('PATCH', '/users/@me/settings'), json=payload)