|
|
|
@ -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();
|
|
|
|
|