diff --git a/server/chat-commands/core.ts b/server/chat-commands/core.ts index 439cb4d898..2247792bd1 100644 --- a/server/chat-commands/core.ts +++ b/server/chat-commands/core.ts @@ -675,9 +675,9 @@ export const commands: Chat.ChatCommands = { if (!target) target = user.name; const values = await Ladders.visualizeAll(target); - let buffer = `
`; - buffer += Utils.html``; - + let buffer = `
`; + buffer += Utils.html`
User: ${target}
`; + buffer += `
User: ${target}
`; const ratings = values.join(``); if (!ratings) { buffer += ``; @@ -685,8 +685,7 @@ export const commands: Chat.ChatCommands = { buffer += ``; buffer += ratings; } - buffer += `
${this.tr`This user has not played any ladder games yet.`}
${this.tr`Format`}Elo${this.tr`W`}${this.tr`L`}${this.tr`Total`}
`; - + buffer += ``; this.sendReply(`|raw|${buffer}`); }, rankhelp: [