refactor(arabot): change unnecessary let to const

This commit is contained in:
Anthony 2022-08-04 03:15:00 +01:00
parent 33fd464efb
commit 91e49b247c

View File

@ -441,7 +441,7 @@ export class SusCommand extends Command {
public async removeAllNotes(interaction: Command.ChatInputInteraction) { public async removeAllNotes(interaction: Command.ChatInputInteraction) {
// Get the arguments // Get the arguments
let user = interaction.options.getUser('user'); const user = interaction.options.getUser('user');
const { guild, channel } = interaction; const { guild, channel } = interaction;
// Checks if all the variables are of the right type // Checks if all the variables are of the right type