diff options
| author | CapnS <[email protected]> | 2019-03-21 12:57:54 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-03-28 17:33:39 -0400 |
| commit | 4ec72135063f0f200f3b7250504eee8bd83c2f02 (patch) | |
| tree | 87d7f0dbf375492d0c0b7f111cb7102cb57b6a91 /discord/http.py | |
| parent | [commands] Fix MinimalHelpCommand opening note signature consistency (diff) | |
| download | discord.py-4ec72135063f0f200f3b7250504eee8bd83c2f02.tar.xz discord.py-4ec72135063f0f200f3b7250504eee8bd83c2f02.zip | |
Added functionality to edit user settings
Changing docs to fit other parts of the lib
Co-Authored-By: CapnS <[email protected]>
Removing Type Checking
Made all of Rapptz's suggested changes
Removing imports that are no longer needed
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/http.py b/discord/http.py index dc61a74c..b103a7ef 100644 --- a/discord/http.py +++ b/discord/http.py @@ -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) |