Skip to content

Commit ccdc8f8

Browse files
authored
Merge pull request #973 from 13xforever/vnext
Update warning text for game updates
2 parents 08e3e07 + 2bf879c commit ccdc8f8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ public static async Task<List<DiscordEmbedBuilder>> AsEmbedAsync(this TitlePatch
3434
var pages = pkgs.Length / EmbedPager.MaxFields + (pkgs.Length % EmbedPager.MaxFields == 0 ? 0 : 1);
3535
if (pages > 1)
3636
embedBuilder.Title = $"{title} [Part 1 of {pages}]".Trim(EmbedPager.MaxFieldTitleLength);
37-
var desc = $"ℹ️ Total download size of all {pkgs.Length} packages is {pkgs.Sum(p => p.Size).AsStorageUnit()}.\n" +
38-
"\n" +
39-
"⚠️ You **must** install updates starting with the first. You **can not** install only the latest update.";
40-
embedBuilder.Description = desc;
37+
embedBuilder.Description = $"""
38+
ℹ️ Total download size of all {pkgs.Length} packages is {pkgs.Sum(p => p.Size).AsStorageUnit()}.
39+
40+
⚠️ You **must** install listed updates in order, starting with the first one. You **can not** skip intermediate versions.
41+
""";
4142
var i = 0;
4243
do
4344
{

0 commit comments

Comments
 (0)