From b637b296963f59c452931c270c5df363e5336e2c Mon Sep 17 00:00:00 2001 From: Szedann <65607498+Szedann@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:00:03 +0100 Subject: [PATCH] change let to const --- src/webserver/banshare.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver/banshare.ts b/src/webserver/banshare.ts index 7ece8d7..8c988c8 100644 --- a/src/webserver/banshare.ts +++ b/src/webserver/banshare.ts @@ -17,7 +17,7 @@ const banButton = new Button( 'ban', object({ userId: string() }), async (interaction, data) => { - let reason = + const reason = 'aero banshare: ' + (interaction.message.embeds[0].fields[3].value ?? 'no reason provided');