This commit is contained in:
Mihail Gribkov
2024-10-22 21:46:54 +03:00
committed by GitHub
parent dfe679cbfd
commit 8b929690a9
15 changed files with 36 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ namespace Discord
{
internal sealed class MockedCategoryChannel : ICategoryChannel
{
public ChannelType ChannelType => ChannelType.Category;
public int Position => throw new NotImplementedException();
public IGuild Guild => throw new NotImplementedException();

View File

@@ -8,6 +8,7 @@ namespace Discord
{
internal sealed class MockedDMChannel : IDMChannel
{
public ChannelType ChannelType => ChannelType.DM;
public IUser Recipient => throw new NotImplementedException();
public IReadOnlyCollection<IUser> Recipients => throw new NotImplementedException();

View File

@@ -8,6 +8,7 @@ namespace Discord
{
internal sealed class MockedGroupChannel : IGroupChannel
{
public ChannelType ChannelType => ChannelType.Group;
public IReadOnlyCollection<IUser> Recipients => throw new NotImplementedException();
public string Name => throw new NotImplementedException();

View File

@@ -10,6 +10,7 @@ namespace Discord
/// </summary>
internal sealed class MockedInvalidChannel : IChannel
{
public ChannelType ChannelType => ChannelType.Text;
public string Name => throw new NotImplementedException();
public DateTimeOffset CreatedAt => throw new NotImplementedException();

View File

@@ -8,6 +8,7 @@ namespace Discord
{
internal sealed class MockedTextChannel : ITextChannel
{
public ChannelType ChannelType => ChannelType.Text;
public bool IsNsfw => throw new NotImplementedException();
public int DefaultSlowModeInterval => throw new NotImplementedException();

View File

@@ -9,6 +9,8 @@ namespace Discord
{
internal sealed class MockedVoiceChannel : IVoiceChannel
{
public ChannelType ChannelType => ChannelType.Voice;
public int DefaultSlowModeInterval => throw new NotImplementedException();
public int Bitrate => throw new NotImplementedException();