Change code formating to follow the style
This commit is contained in:
@@ -17,74 +17,15 @@ namespace Discord.WebSocket
|
|||||||
public override Game Game => Presence.Game;
|
public override Game Game => Presence.Game;
|
||||||
public override UserStatus Status => Presence.Status;
|
public override UserStatus Status => Presence.Status;
|
||||||
|
|
||||||
public VoiceState? VoiceState
|
public VoiceState? VoiceState => Guild.GetVoiceState(Id);
|
||||||
{
|
public bool IsSelfDeafened => VoiceState?.IsSelfDeafened ?? false;
|
||||||
get
|
public bool IsSelfMuted => VoiceState?.IsSelfMuted ?? false;
|
||||||
{
|
public bool IsSuppressed => VoiceState?.IsSuppressed ?? false;
|
||||||
return Guild.GetVoiceState(Id);
|
public VoiceChannel VoiceChannel => VoiceState?.VoiceChannel;
|
||||||
}
|
public bool IsDeafened => VoiceState?.IsDeafened ?? false;
|
||||||
}
|
public bool IsMuted => VoiceState?.IsMuted ?? false;
|
||||||
|
public string VoiceSessionId => VoiceState?.VoiceSessionId ?? "";
|
||||||
public bool IsSelfDeafened
|
IVoiceChannel IVoiceState.VoiceChannel => VoiceState?.VoiceChannel;
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.IsSelfDeafened ?? false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public bool IsSelfMuted
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.IsSelfMuted ?? false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public bool IsSuppressed
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.IsSuppressed ?? false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public VoiceChannel VoiceChannel
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.VoiceChannel;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsDeafened
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.IsDeafened ?? false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsMuted
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.IsMuted ?? false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
IVoiceChannel IVoiceState.VoiceChannel
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.VoiceChannel;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string VoiceSessionId
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return VoiceState?.VoiceSessionId ?? "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public SocketGuildUser(SocketGuild guild, SocketGlobalUser user, Model model)
|
public SocketGuildUser(SocketGuild guild, SocketGlobalUser user, Model model)
|
||||||
: base(guild, user, model)
|
: base(guild, user, model)
|
||||||
|
|||||||
Reference in New Issue
Block a user