Discord.Net/test/Discord.Net.Tests.Unit/MockedEntities/MockedInvalidChannel.cs

30 lines
916 B
C#
Raw Permalink Normal View History

2024-06-12 22:51:33 -07:00
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Discord
{
/// <summary>
/// Represents a channel that is of an unrecognized type.
/// </summary>
internal sealed class MockedInvalidChannel : IChannel
{
public string Name => throw new NotImplementedException();
public DateTimeOffset CreatedAt => throw new NotImplementedException();
public ulong Id => throw new NotImplementedException();
public Task<IUser> GetUserAsync(ulong id, CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null)
{
throw new NotImplementedException();
}
public IAsyncEnumerable<IReadOnlyCollection<IUser>> GetUsersAsync(CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null)
{
throw new NotImplementedException();
}
}
}