set button time to 60s

This commit is contained in:
2023-06-17 12:19:23 +02:00
parent 41ed649a22
commit f8600d5ad1
+1 -1
View File
@@ -69,7 +69,7 @@ module.exports = {
.addComponents(gulag) as any
const response = await interaction.editReply({ embeds: [exampleEmbed], files, components: [row] })
const collector = response.createMessageComponentCollector({ componentType: ComponentType.Button, time: 3_600_00 })
const collector = response.createMessageComponentCollector({ componentType: ComponentType.Button, time: 60_000 })
collector.on('collect', async i => {
console.log(i.member)