diff --git a/src/Discord.Net.Core/Entities/Messages/EmbedBuilder.cs b/src/Discord.Net.Core/Entities/Messages/EmbedBuilder.cs index 08c860d00..c0069aa9a 100644 --- a/src/Discord.Net.Core/Entities/Messages/EmbedBuilder.cs +++ b/src/Discord.Net.Core/Entities/Messages/EmbedBuilder.cs @@ -16,7 +16,7 @@ namespace Discord public EmbedBuilder() { - _model = new Embed {Type = "rich"}; + _model = new Embed { Type = "rich" }; _fields = new List(); } @@ -213,8 +213,6 @@ namespace Discord private Thumbnail _model; public string Url { get { return _model.Url; } set { _model.Url = value; } } - public Optional Height { get { return _model.Height; } set { _model.Height = value; } } - public Optional Width { get { return _model.Width; } set { _model.Width = value; } } public EmbedThumbnailBuilder() { @@ -226,16 +224,6 @@ namespace Discord Url = url; return this; } - public EmbedThumbnailBuilder WithHeight(int height) - { - Height = height; - return this; - } - public EmbedThumbnailBuilder WithWidth(int width) - { - Width = width; - return this; - } internal Thumbnail ToModel() => _model; } @@ -245,8 +233,6 @@ namespace Discord private Image _model; public string Url { get { return _model.Url; } set { _model.Url = value; } } - public Optional Height { get { return _model.Height; } set { _model.Height = value; } } - public Optional Width { get { return _model.Width; } set { _model.Width = value; } } public EmbedImageBuilder() { @@ -258,16 +244,6 @@ namespace Discord Url = url; return this; } - public EmbedImageBuilder WithHeight(int height) - { - Height = height; - return this; - } - public EmbedImageBuilder WithWidth(int width) - { - Width = width; - return this; - } internal Image ToModel() => _model; }