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 cc3e43a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion novus/models/api_mixins/guild/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ async def remove_member_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.id,
try_id(user),
try_id(role),
Expand Down
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 cc3e43a

Please sign in to comment.