From 91e49b247c6f7a16ab5ae6dbb6b36f52521cd62d Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 4 Aug 2022 03:15:00 +0100 Subject: [PATCH] refactor(arabot): change unnecessary let to const --- src/commands/mod/sus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/mod/sus.ts b/src/commands/mod/sus.ts index 627f92c..7c8be59 100644 --- a/src/commands/mod/sus.ts +++ b/src/commands/mod/sus.ts @@ -441,7 +441,7 @@ export class SusCommand extends Command { public async removeAllNotes(interaction: Command.ChatInputInteraction) { // Get the arguments - let user = interaction.options.getUser('user'); + const user = interaction.options.getUser('user'); const { guild, channel } = interaction; // Checks if all the variables are of the right type