From 71325d22039f80c2df57b053a3edcb6073c36399 Mon Sep 17 00:00:00 2001 From: PineappleFan Date: Mon, 6 Mar 2023 10:54:14 +0000 Subject: [PATCH] Update purge.ts - In theory the buttons should work now --- src/commands/mod/purge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/mod/purge.ts b/src/commands/mod/purge.ts index c5fe2fb..ff69079 100644 --- a/src/commands/mod/purge.ts +++ b/src/commands/mod/purge.ts @@ -102,7 +102,7 @@ const callback = async (interaction: CommandInteraction): Promise => { try { component = m.awaitMessageComponent({ 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 }); } catch (e) {