diff --git a/Quarkcord/Program.cs b/Quarkcord/Program.cs index c333cfbb68a22dc4e182477d38981e76a3b2d057..8e88f3233457903c227204f633a41c3129da2895 100644 --- a/Quarkcord/Program.cs +++ b/Quarkcord/Program.cs @@ -277,7 +277,7 @@ public class QuarkcordPlugin : IPlugin { ["type"] = "botMessage", ["username"] = (message.Author as SocketGuildUser)?.Nickname ?? message.Author.GlobalName ?? message.Author.Username, - ["avatarUri"] = $"{_networkInformation!.CdnBaseUrl}/external/{HttpUtility.UrlEncode(message.Author.GetAvatarUrl())}" + ["avatarUri"] = $"{_networkInformation!.CdnBaseUrl}/external/{HttpUtility.UrlEncode(message.Author.GetDisplayAvatarUrl())}" } }; if (message.ReferencedMessage != null) diff --git a/Quarkcord/Quarkcord.csproj b/Quarkcord/Quarkcord.csproj index ba7bc3c7caae234b8fa418d7a872de42b18cccf6..ff3d237f74305dd24de1f05c69a0e66736d20086 100644 --- a/Quarkcord/Quarkcord.csproj +++ b/Quarkcord/Quarkcord.csproj @@ -8,7 +8,7 @@ <ItemGroup> <PackageReference Include="Discord.Net" Version="3.15.0" /> - <PackageReference Include="Lightquark.Types" Version="2024.6.1-59" /> + <PackageReference Include="Lightquark.Types" Version="2024.6.24-77" /> <PackageReference Include="MongoDB.Driver" Version="2.25.0" /> </ItemGroup>