Made API models internal. Removed Discord.Net.API.
This commit is contained in:
@@ -47,7 +47,7 @@ namespace Discord.Rpc
|
||||
=> UserHelper.CreateDMChannelAsync(this, Discord, options);
|
||||
|
||||
public override string ToString() => $"{Username}#{Discriminator}";
|
||||
internal string DebuggerDisplay => $"{Username}#{Discriminator} ({Id}{(IsBot ? ", Bot" : "")})";
|
||||
private string DebuggerDisplay => $"{Username}#{Discriminator} ({Id}{(IsBot ? ", Bot" : "")})";
|
||||
|
||||
//IUser
|
||||
Task<IDMChannel> IUser.GetDMChannelAsync(CacheMode mode, RequestOptions options)
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace Discord.Rpc
|
||||
}
|
||||
|
||||
public override string ToString() => User.ToString();
|
||||
internal string DebuggerDisplay => $"{User} ({_voiceStates})";
|
||||
private string DebuggerDisplay => $"{User} ({_voiceStates})";
|
||||
|
||||
string IVoiceState.VoiceSessionId { get { throw new NotSupportedException(); } }
|
||||
IVoiceChannel IVoiceState.VoiceChannel { get { throw new NotSupportedException(); } }
|
||||
|
||||
10
src/Discord.Net.Rpc/Entities/Users/UserVoiceProperties.cs
Normal file
10
src/Discord.Net.Rpc/Entities/Users/UserVoiceProperties.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Discord.Rpc.Entities.Users
|
||||
{
|
||||
class UserVoiceProperties
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user