diff --git a/server/chat-plugins/helptickets.ts b/server/chat-plugins/helptickets.ts index be5650ac33..b9f02e9640 100644 --- a/server/chat-plugins/helptickets.ts +++ b/server/chat-plugins/helptickets.ts @@ -754,6 +754,11 @@ export const textTickets: {[k: string]: TextTicketInfo} = { return buf; }, + onSubmit(ticket, text, submitter, conn) { + const targetId = toID(text[0]); + // this does the saving for us so we don't have to do anything else + getCommonBattles(targetId, Users.get(targetId), submitter.id, submitter, conn); + }, }, inapname: { title: "What's the inappropriate username?",