mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user