Update purge.ts - In theory the buttons should work now

extensions
PineappleFan 3 years ago committed by GitHub
parent e0c511b26c
commit 71325d2203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -102,7 +102,7 @@ const callback = async (interaction: CommandInteraction): Promise<unknown> => {
try { try {
component = m.awaitMessageComponent({ component = m.awaitMessageComponent({
filter: (i) => filter: (i) =>
i.user.id === interaction.user.id && i.channel!.id === interaction.channel!.id && i.id === m.id, i.user.id === interaction.user.id && i.channel!.id === interaction.channel!.id,
time: 300000 time: 300000
}); });
} catch (e) { } catch (e) {

Loading…
Cancel
Save