2018-05-06 02:43:23 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Discord;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Lib.Polyfills
|
|
|
|
|
{
|
|
|
|
|
internal class UserPolyfillDto : IUser
|
|
|
|
|
{
|
|
|
|
|
public ulong Id { get; set; }
|
|
|
|
|
public DateTimeOffset CreatedAt { get; set; }
|
|
|
|
|
public string Mention { get; set; }
|
2018-05-17 22:06:58 +02:00
|
|
|
|
public IActivity Activity { get; }
|
2018-05-06 02:43:23 +02:00
|
|
|
|
public UserStatus Status { get; set; }
|
|
|
|
|
public string AvatarId { get; set; }
|
|
|
|
|
public string Discriminator { get; set; }
|
|
|
|
|
public ushort DiscriminatorValue { get; set; }
|
|
|
|
|
public bool IsBot { get; set; }
|
|
|
|
|
public bool IsWebhook { get; set; }
|
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
|
|
|
|
|
public string GetAvatarUrl(ImageFormat format = ImageFormat.Auto, ushort size = 128)
|
|
|
|
|
{
|
|
|
|
|
return "https://discordapp.com/assets/6debd47ed13483642cf09e832ed0bc1b.png";
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-29 22:04:27 +02:00
|
|
|
|
public string GetDefaultAvatarUrl()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-06 02:43:23 +02:00
|
|
|
|
public Task<IDMChannel> GetOrCreateDMChannelAsync(RequestOptions options = null)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|