mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-16 00:02:43 +02:00
add debut confession system and corrige commande logs
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = {
|
||||
|
||||
const filter = i => i.customId.startsWith('logsselect_') && i.user.id === message.author.id;
|
||||
const filter2 = m => m.author.id === message.author.id;
|
||||
const collector = logmessage.createMessageComponentCollector({ filter:filter, max: 1, time: 150000 });
|
||||
const collector = logmessage.createMessageComponentCollector({ filter:filter, time: 150000 });
|
||||
|
||||
collector.on('collect', async i => {
|
||||
await i.deferReply();
|
||||
|
||||
Reference in New Issue
Block a user