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
ulongGuild ID
userId
ulongUser ID
roleId
ulongRole ID
reason
stringReason this role gets removed