Skip to content

Commit dcfdaa0

Browse files
committed
Fix typo in fetch_member() request path
1 parent ecdb2b0 commit dcfdaa0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

library/wumpy-rest/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "wumpy-rest"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Reusable and richly typed wrapper over the Discord REST API"
55
readme = {file = "README.md", content-type="text/markdown"}
66

library/wumpy-rest/wumpy/rest/endpoints/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ async def fetch_member(self, guild: SupportsInt, user: SupportsInt) -> GuildMemb
520520
The member data of the user.
521521
"""
522522
return await self.request(Route(
523-
'GET', '/guilds/{guild_id}/embers/{user_id}',
523+
'GET', '/guilds/{guild_id}/members/{user_id}',
524524
guild_id=int(guild), user_id=int(user)
525525
))
526526

0 commit comments

Comments
 (0)