changes
diff --git a/src/automations/guide.ts b/src/automations/guide.ts
index d443a42..2a686b9 100644
--- a/src/automations/guide.ts
+++ b/src/automations/guide.ts
@@ -181,7 +181,7 @@
}
let i
try {
- i = await m.awaitMessageComponent({filter: interaction ? () => { return true } : f, time: 600000});
+ i = await m.awaitMessageComponent({filter: interaction ? () => { return true } : f, time: 300000});
} catch(e) { break }
i.deferUpdate()
if (i.component.customId == "left") {
diff --git a/src/automations/roleMenu.ts b/src/automations/roleMenu.ts
index cac15a5..1b5f3eb 100644
--- a/src/automations/roleMenu.ts
+++ b/src/automations/roleMenu.ts
@@ -67,7 +67,7 @@
})
}
let component;
- try { component = await (m as Message).awaitMessageComponent({time: 2.5 * 60 * 1000});
+ try { component = await (m as Message).awaitMessageComponent({time: 300000});
} catch (e) { return }
component.deferUpdate()
let rolesToAdd = []
@@ -107,7 +107,7 @@
});
let component;
try {
- component = await (m as Message).awaitMessageComponent({time: 2.5 * 60 * 1000});
+ component = await (m as Message).awaitMessageComponent({time: 300000});
} catch (e) {
return
}
diff --git a/src/automations/tickets/create.ts b/src/automations/tickets/create.ts
index 9642089..af5ac0d 100644
--- a/src/automations/tickets/create.ts
+++ b/src/automations/tickets/create.ts
@@ -74,7 +74,7 @@
], ephemeral: true, fetchReply: true, components: splitFormattedTicketTypes});
let component;
try {
- component = await (m as Discord.Message).awaitMessageComponent({time: 2.5 * 60 * 1000});
+ component = await (m as Discord.Message).awaitMessageComponent({time: 300000});
} catch (e) {
return;
}