Nostrum.Api.remove_guild_member_role
You're seeing just the function
remove_guild_member_role
, go back to Nostrum.Api module for more information.
Link to this function
remove_guild_member_role(guild_id, user_id, role_id, reason \\ nil)
View SourceSpecs
remove_guild_member_role( integer(), integer(), integer(), Nostrum.Struct.Guild.AuditLogEntry.reason() ) :: error() | {:ok}
Removes a role from a member.
Role to remove is specified by role_id
.
User to remove role from is specified by guild_id
and user_id
.
An optional reason
can be given for the audit log.