diff --git a/src/commands/HelpCommand.ts b/src/commands/HelpCommand.ts index 6e461f0a..ac93f292 100644 --- a/src/commands/HelpCommand.ts +++ b/src/commands/HelpCommand.ts @@ -45,12 +45,12 @@ export class HelpCommand implements ICommand { "" + "

People management:

" + "
" +
-            "!conference verify <aud>  - Dumps information about who would be invited to which rooms when\n" +
-            "                            the invite command is run for the auditorium.\n" +
-            "!conference invite [aud]  - Issues invites to all the people to their relevant rooms. If an [aud] is\n" +
-            "                            supplied, only that auditorium will receive invites.\n" +
-            "!conference permissions   - Updates moderator status for everyone that is supposed to have it.\n" +
-            "!conference attendance    - Checks the status of invites across the conference.\n" +
+            "!conference verify <aud> [backstage]     - Dumps information about who would be invited to which rooms when\n" +
+            "                                             the invite command is run for the auditorium.\n" +
+            "!conference invite [aud]                   - Issues invites to all the people to their relevant rooms. If an [aud] is\n" +
+            "                                             supplied, only that auditorium will receive invites.\n" +
+            "!conference permissions                    - Updates moderator status for everyone that is supposed to have it.\n" +
+            "!conference attendance                     - Checks the status of invites across the conference.\n" +
             "
" + "

Bridge management:

" + "
" +
diff --git a/src/commands/RunCommand.ts b/src/commands/RunCommand.ts
index d601a2b9..82f2588b 100644
--- a/src/commands/RunCommand.ts
+++ b/src/commands/RunCommand.ts
@@ -25,7 +25,7 @@ export class RunCommand implements ICommand {
     constructor(private readonly client: MatrixClient, private readonly conference: Conference, private readonly scheduler: Scheduler) {}
 
     public async run(roomId: string, event: any, args: string[]) {
-        const audId = args[0];
+        const audId = args.join(" ");
         if (audId === "all") {
             await this.scheduler.addAuditorium("all");
         } else {
diff --git a/src/commands/VerifyCommand.ts b/src/commands/VerifyCommand.ts
index 30be0cf3..0675e48d 100644
--- a/src/commands/VerifyCommand.ts
+++ b/src/commands/VerifyCommand.ts
@@ -29,8 +29,18 @@ export class VerifyCommand implements ICommand {
     constructor(private readonly client: MatrixClient, private readonly conference: Conference) {}
 
     public async run(roomId: string, event: any, args: string[]) {
-        const audId = args[0];
+        let audId;
+        if (args.includes("backstage")) {
+            const aud_slice = args.slice(0, -1)
+            audId = aud_slice.join(" ")
+        }
+        else {
+            audId = args.join(" ");
+        }
 
+        console.log(audId)
+        const auds = this.conference.storedAuditoriums
+        console.dir(auds)
         let aud: PhysicalRoom = this.conference.getAuditorium(audId);
         if (args.includes("backstage")) {
             aud = this.conference.getAuditoriumBackstage(audId);
diff --git a/src/commands/actions/roles.ts b/src/commands/actions/roles.ts
index 02010861..da4d4bac 100644
--- a/src/commands/actions/roles.ts
+++ b/src/commands/actions/roles.ts
@@ -24,9 +24,10 @@ export async function runRoleCommand(action: IAction, conference: Conference, cl
     const skipTalks = args.includes("notalks");
 
     if (args[0] && args[0] !== "backstage") {
-        const aud = backstageOnly ? conference.getAuditoriumBackstage(args[0]) : conference.getAuditorium(args[0]);
+        const audId = args.join(" ")
+        const aud = backstageOnly ? conference.getAuditoriumBackstage(audId) : conference.getAuditorium(audId);
         if (!aud) {
-            const spiRoom = conference.getInterestRoom(args[0]);
+            const spiRoom = conference.getInterestRoom(audId);
             if (!spiRoom) return client.replyNotice(roomId, event, "Unknown auditorium/interest room");
             await doInterestResolveAction(action, client, spiRoom, conference, isInvite);
         } else {