Skip to content
Snippets Groups Projects
Unverified Commit 90df1dc1 authored by Emilia's avatar Emilia
Browse files

Update Types, MongoDB downgrade, add height and width

parent 9f2eb00d
Branches main
No related tags found
No related merge requests found
......@@ -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
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment