mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 08:24:16 +02:00
refactor(arabot): change unnecessary let to const
This commit is contained in:
parent
33fd464efb
commit
91e49b247c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user