Table of Contents

Method RemoveGuildMemberRoleAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

RemoveGuildMemberRoleAsync(ulong, ulong, ulong, string)

Remove role from member

public Task RemoveGuildMemberRoleAsync(ulong guildId, ulong userId, ulong roleId, string reason)

Parameters

guildId ulong

Guild ID

userId ulong

User ID

roleId ulong

Role ID

reason string

Reason this role gets removed

Returns

Task