From f12cbba615bef60e94ad08b5483b3fe07bb9f2d3 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Thu, 28 Dec 2023 10:39:33 -0500 Subject: [PATCH] bad logging lol --- src/webserver/banshare.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/webserver/banshare.ts b/src/webserver/banshare.ts index 66dfa47..55e0c9f 100644 --- a/src/webserver/banshare.ts +++ b/src/webserver/banshare.ts @@ -29,10 +29,12 @@ const banButton = new Button( ephemeral: true, }); } + console.count() // 1 const reason = 'simulated banshare: ' + (interaction.message.embeds[0].fields[3].value ?? 'no reason provided'); + console.count() // 2 const modal = new ModalBuilder() .setCustomId(`ban`) .setTitle(`Ban <@${data.userId}>`) @@ -44,7 +46,9 @@ const banButton = new Button( .setValue(reason) ) ); + console.count() // 3 await interaction.showModal(modal); + console.count() // 4 interaction .awaitModalSubmit({ filter: (interaction) =>