feat(reports): add Custom Races upstream destination

This commit is contained in:
Дмитрий committed 2026-10-27 09:13:34 +05:00
1 parent 4a99dd3a6a
commit f0e8a8c12f
12 files changed
+30 -7

No files matched your search

+2 -1
View File
@@ -31,7 +31,8 @@ export function reportBody(r: ReportInput): string {
`**Windows version:** ${r.windows || "unknown"} `,
`**Fresh install or imported server:** ${r.installKind === "new" ? "Fresh install" : "Imported server"} `,
...(r.serverVersion ? [`**Server version:** ${r.serverVersion} `] : []),
...(r.target !== "manager" ? [`**Bot system:** ${r.target === "squid" ? "SQUID Playerbots" : "CoA Companions"}${r.botsVersion ? ` ${r.botsVersion}` : ""} `] : []),
...(r.target === "squid" || r.target === "companions" ? [`**Bot system:** ${r.target === "squid" ? "SQUID Playerbots" : "CoA Companions"}${r.botsVersion ? ` ${r.botsVersion}` : ""} `] : []),
...(r.target === "custom-races" ? ["**Component:** Custom Races "] : []),
"",
"**What happened?** ",
text(r.what, "Describe the problem."),