Skip to content

Commit

Permalink
Fix GuildMember.remove_roles method
Browse files Browse the repository at this point in the history
  • Loading branch information
4Kaylum committed Jul 12, 2023
1 parent e578bc2 commit 9771844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novus/models/api_mixins/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ async def remove_role(
The reason shown in the audit log.
"""

await self.state.guild.add_guild_member_role(
await self.state.guild.remove_guild_member_role(
self.guild.id,
self.id,
try_id(role),
Expand Down

0 comments on commit 9771844

Please sign in to comment.