Fix the last of the eslint errors (for real this time)
diff --git a/src/commands/privacy.ts b/src/commands/privacy.ts
index 4de0c63..9f63602 100644
--- a/src/commands/privacy.ts
+++ b/src/commands/privacy.ts
@@ -122,7 +122,8 @@
let selectPaneOpen = false;
let nextFooter = null;
- while (true) {
+ let timedOut = false;
+ while (!timedOut) {
let selectPane = [];
if (selectPaneOpen) {
@@ -176,7 +177,8 @@
try {
i = await m.awaitMessageComponent({ time: 300000 });
} catch (e) {
- break;
+ timedOut = true;
+ continue;
}
nextFooter = null;
i.deferUpdate();