From ed71305113b0057143005ca65450318c6a755fd6 Mon Sep 17 00:00:00 2001 From: ObsidianMinor Date: Fri, 3 Mar 2017 23:53:12 -0600 Subject: [PATCH] Rpc users can't be friends :( Or at least I don't think... --- src/Discord.Net.Rpc/Entities/Users/RpcUser.cs | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/src/Discord.Net.Rpc/Entities/Users/RpcUser.cs b/src/Discord.Net.Rpc/Entities/Users/RpcUser.cs index e091d5c5e..86524b721 100644 --- a/src/Discord.Net.Rpc/Entities/Users/RpcUser.cs +++ b/src/Discord.Net.Rpc/Entities/Users/RpcUser.cs @@ -55,19 +55,11 @@ namespace Discord.Rpc async Task IUser.CreateDMChannelAsync(RequestOptions options) => await CreateDMChannelAsync(options).ConfigureAwait(false); - public Task AddFriendAsync(RequestOptions options = null) - { - throw new NotImplementedException(); - } - - public Task BlockUserAsync(RequestOptions options = null) - { - throw new NotImplementedException(); - } - - public Task RemoveRelationshipAsync(RequestOptions options = null) - { - throw new NotImplementedException(); - } + Task IUser.AddFriendAsync(RequestOptions options) + => throw new NotSupportedException(); + Task IUser.BlockUserAsync(RequestOptions options) + => throw new NotSupportedException(); + Task IUser.RemoveRelationshipAsync(RequestOptions options) + => throw new NotSupportedException(); } }