public new static GuildChannel From(IClient client, [NotNull] Spectacles.NET.Types.Channel channel) { return(new GuildChannel(client, ulong.Parse(channel.Id), channel.Type, null, ulong.Parse(channel.GuildId), channel.Name, channel.Position, ulong.Parse(channel.ParentId), channel.PermissionOverwrites.Select(PermissionOverwrite.From).ToArray())); }
public static Channel From(IClient client, [NotNull] Spectacles.NET.Types.Channel channel) { return(new Channel(client, ulong.Parse(channel.Id), channel.Type)); }