mirror of https://gitlab.com/litecord/litecord.git
guild: add secondary route for nick updating
This commit is contained in:
parent
55032aba1e
commit
36e6e078b3
|
|
@ -199,6 +199,7 @@ async def modify_guild_member(guild_id, member_id):
|
||||||
return "", 204
|
return "", 204
|
||||||
|
|
||||||
|
|
||||||
|
@bp.route("/<int:guild_id>/members/@me", methods=["PATCH"])
|
||||||
@bp.route("/<int:guild_id>/members/@me/nick", methods=["PATCH"])
|
@bp.route("/<int:guild_id>/members/@me/nick", methods=["PATCH"])
|
||||||
async def update_nickname(guild_id):
|
async def update_nickname(guild_id):
|
||||||
"""Update a member's nickname in a guild."""
|
"""Update a member's nickname in a guild."""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue