diff options
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/http.py b/discord/http.py index b186782f..868910ba 100644 --- a/discord/http.py +++ b/discord/http.py @@ -958,8 +958,8 @@ class HTTPClient: params['limit'] = limit return self.request(route, params=params) - def get_active_threads(self, channel_id: Snowflake) -> Response[threads.ThreadPaginationPayload]: - route = Route('GET', '/channels/{channel_id}/threads/active', channel_id=channel_id) + def get_active_threads(self, guild_id: Snowflake) -> Response[threads.ThreadPaginationPayload]: + route = Route('GET', '/guilds/{guild_id}/threads/active', guild_id=guild_id) return self.request(route) def get_thread_members(self, channel_id: Snowflake) -> Response[List[threads.ThreadMember]]: |