diff --git a/Quarkcord/Program.cs b/Quarkcord/Program.cs index d58f9d576689cb1dff1a114d2beb1e714338d69b..296519c3d0b84de9f980b4cdd0ef94d0da5df6b4 100644 --- a/Quarkcord/Program.cs +++ b/Quarkcord/Program.cs @@ -361,6 +361,8 @@ public class QuarkcordPlugin : IPlugin Filename = a.Filename, MimeType = a.ContentType, Size = a.Size, + Width = a.Width, + Height = a.Height, Url = new Uri($"{_networkInformation!.CdnBaseUrl}/external/{HttpUtility.UrlEncode(a.Url)}") }).ToArray(); LqMessage lqMessage; @@ -472,4 +474,6 @@ public class LqAttachment : Lightquark.Types.Mongo.IAttachment public string MimeType { get; set; } public string Filename { get; set; } public ObjectId FileId { get; set; } + public int? Height { get; set; } + public int? Width { get; set; } } \ No newline at end of file diff --git a/Quarkcord/Quarkcord.csproj b/Quarkcord/Quarkcord.csproj index 10145a9d9c93b2859d11f56f45b6a4b1275c8c99..cb2824d2bcdf5d0e9a1172efc30f9d9aef37a51c 100644 --- a/Quarkcord/Quarkcord.csproj +++ b/Quarkcord/Quarkcord.csproj @@ -8,8 +8,8 @@ <ItemGroup> <PackageReference Include="Discord.Net" Version="3.16.0" /> - <PackageReference Include="Lightquark.Types" Version="2024.9.18.148" /> - <PackageReference Include="MongoDB.Driver" Version="2.29.0" /> + <PackageReference Include="Lightquark.Types" Version="2024.10.11.150" /> + <PackageReference Include="MongoDB.Driver" Version="2.25.0" /> </ItemGroup>