aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-14 19:15:11 -0400
committerRapptz <[email protected]>2016-06-14 19:15:11 -0400
commitc162b666ea986d2d2ff2d001ee48eb9654d89200 (patch)
treea6a983c085dbea0ea82195259a90bb4c341e3cb0
parentDoc string typos (diff)
downloaddiscord.py-c162b666ea986d2d2ff2d001ee48eb9654d89200.tar.xz
discord.py-c162b666ea986d2d2ff2d001ee48eb9654d89200.zip
Fix bucket for change_nickname.
-rw-r--r--discord/http.py2
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