3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 01:05:02 +00:00

Update DJS

This commit is contained in:
Dark 2021-07-04 17:41:44 +02:00
parent d8cf71d475
commit e5730d0b85
23 changed files with 71 additions and 56 deletions

View file

@ -198,7 +198,7 @@ export async function displaySearch(
await searchMsg.edit({ content: result, components: [row] });
const filter = (iac: MessageComponentInteraction) => iac.message.id === searchMsg.id;
const collector = searchMsg.createMessageComponentInteractionCollector({ filter, time: 2 * MINUTES });
const collector = searchMsg.createMessageComponentCollector({ filter, time: 2 * MINUTES });
collector.on("collect", async (interaction: MessageComponentInteraction) => {
if (msg.author.id !== interaction.user.id) {