Browse Source

Remove redundant explicit interface definition.

tags/1.0
AntiTcb 8 years ago
parent
commit
33a91ba3de
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/Discord.Net.WebSocket/Entities/Users/SocketGuildUser.cs

+ 1
- 5
src/Discord.Net.WebSocket/Entities/Users/SocketGuildUser.cs View File

@@ -146,11 +146,7 @@ namespace Discord.WebSocket
IGuild IGuildUser.Guild => Guild;
ulong IGuildUser.GuildId => Guild.Id;
IReadOnlyCollection<ulong> IGuildUser.RoleIds => _roleIds;

//IUser
Task<IDMChannel> IUser.GetDMChannelAsync(CacheMode mode, RequestOptions options)
=> Task.FromResult<IDMChannel>(GlobalUser.DMChannel);

//IVoiceState
IVoiceChannel IVoiceState.VoiceChannel => VoiceChannel;
}


Loading…
Cancel
Save