Return timeout to normal time

master
masterhc 1 year ago
parent 98f806d280
commit 7416b1811f

@ -97,7 +97,7 @@ class char extends Command{
);
const filter = i => i.customId === randomID;
const sentMessage = await message.channel.send({ephemeral: true, embeds: [embed], components: [row] });
const collector = message.channel.createMessageComponentCollector({ filter, time: 6})//0000 });
const collector = message.channel.createMessageComponentCollector({ filter, time: 60000 });
collector.on('collect', async m =>
{
m.message.delete();

Loading…
Cancel
Save