mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Update DJS
This commit is contained in:
parent
d8cf71d475
commit
e5730d0b85
23 changed files with 71 additions and 56 deletions
|
@ -23,7 +23,7 @@ export async function waitForButtonConfirm(
|
|||
const message = await channel.send({ ...toPost, components: [row] });
|
||||
|
||||
const filter = (iac: MessageComponentInteraction) => iac.message.id === message.id;
|
||||
const collector = message.createMessageComponentInteractionCollector({ filter, time: 10000 });
|
||||
const collector = message.createMessageComponentCollector({ filter, time: 10000 });
|
||||
|
||||
collector.on("collect", (interaction: MessageComponentInteraction) => {
|
||||
if (options?.restrictToId && options.restrictToId !== interaction.user.id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue