From f7f9f8403655dc2ef7a8afa9145536e53354263b Mon Sep 17 00:00:00 2001 From: baronkobama Date: Wed, 15 Jun 2022 17:05:04 -0500 Subject: [PATCH] Update http.py --- discord/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/http.py b/discord/http.py index 08def4cf1e..9f50541c94 100644 --- a/discord/http.py +++ b/discord/http.py @@ -899,7 +899,7 @@ def change_my_nickname( *, reason: Optional[str] = None, ) -> Response[member.Nickname]: - r = Route("PATCH", "/guilds/{guild_id}/members/@me/nick", guild_id=guild_id) + r = Route("PATCH", "/guilds/{guild_id}/members/@me", guild_id=guild_id) payload = { "nick": nickname, } @@ -1136,7 +1136,7 @@ def start_forum_thread( def join_thread(self, channel_id: Snowflake) -> Response[None]: return self.request( Route( - "POST", + "PUT", "/channels/{channel_id}/thread-members/@me", channel_id=channel_id, )