Browse Source

Add docs

pull/1757/head
Zack Broderson 4 years ago
parent
commit
bacfc6c2e5
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/Discord.Net.WebSocket/Entities/Users/SocketGuildUser.cs

+ 6
- 0
src/Discord.Net.WebSocket/Entities/Users/SocketGuildUser.cs View File

@@ -189,9 +189,15 @@ namespace Discord.WebSocket
public Task AddRolesAsync(IEnumerable<IRole> roles, RequestOptions options = null)
=> UserHelper.AddRolesAsync(this, Discord, roles, options);
/// <inheritdoc />
public Task RemoveRoleAsync(ulong roleId, RequestOptions options = null)
=> throw new NotImplementedException();
/// <inheritdoc />
public Task RemoveRoleAsync(IRole role, RequestOptions options = null)
=> RemoveRolesAsync(new[] { role }, options);
/// <inheritdoc />
public Task RemoveRolesAsync(IEnumerable<ulong> roleIds, RequestOptions options = null)
=> throw new NotImplementedException();
/// <inheritdoc />
public Task RemoveRolesAsync(IEnumerable<IRole> roles, RequestOptions options = null)
=> UserHelper.RemoveRolesAsync(this, Discord, roles, options);



Loading…
Cancel
Save