diff options
| author | Rapptz <[email protected]> | 2016-06-14 19:15:11 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-14 19:15:11 -0400 |
| commit | c162b666ea986d2d2ff2d001ee48eb9654d89200 (patch) | |
| tree | a6a983c085dbea0ea82195259a90bb4c341e3cb0 | |
| parent | Doc string typos (diff) | |
| download | discord.py-c162b666ea986d2d2ff2d001ee48eb9654d89200.tar.xz discord.py-c162b666ea986d2d2ff2d001ee48eb9654d89200.zip | |
Fix bucket for change_nickname.
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py index 26d6cc82..aa5ef47a 100644 --- a/discord/http.py +++ b/discord/http.py @@ -329,7 +329,7 @@ class HTTPClient: payload = { 'nick': nickname } - bucket = '{}:{}'.format(_func_(), guild_id) + bucket = 'members:{}'.format(guild_id) return self.patch(url, json=payload, bucket=bucket) # Channel management |