From a67686b71797ac6e606e2c23352049ab057e5074 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Tue, 21 Jan 2025 14:54:10 +0000 Subject: [PATCH 1/4] Mark the attendance command as broken --- src/commands/AttendanceCommand.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/commands/AttendanceCommand.ts b/src/commands/AttendanceCommand.ts index f79a0f4..6005d96 100644 --- a/src/commands/AttendanceCommand.ts +++ b/src/commands/AttendanceCommand.ts @@ -21,6 +21,8 @@ import { COLOR_GREEN, COLOR_RED } from "../models/colors"; import { IPerson } from "../models/schedule"; import { ConferenceMatrixClient } from "../ConferenceMatrixClient"; +const BROKEN_WARNING = "This command is somewhat broken/misleading. Accepted = percentage of invites that are Matrix and accepted. Emails = percentage of invites that are e-mail (regardless of whether they are accepted or not)."; + export class AttendanceCommand implements ICommand { public readonly prefixes = ["attendance"]; @@ -46,16 +48,22 @@ export class AttendanceCommand implements ICommand { } } - let html = "