Might have changed stuff
diff --git a/src/commands/nucleus/premium.ts b/src/commands/nucleus/premium.ts
index 2b969b9..74d7da8 100644
--- a/src/commands/nucleus/premium.ts
+++ b/src/commands/nucleus/premium.ts
@@ -42,7 +42,7 @@
count = 3;
}
- let closed = false;
+ const closed = false;
do {
interaction.editReply({
embeds: [
diff --git a/src/commands/settings/oldStats.ts b/src/commands/settings/oldStats.ts
index 457e705..94b09a4 100644
--- a/src/commands/settings/oldStats.ts
+++ b/src/commands/settings/oldStats.ts
@@ -47,13 +47,13 @@
enabled: false
};
let description = "";
- let pageSelect = new StringSelectMenuBuilder()
+ const pageSelect = new StringSelectMenuBuilder()
.setCustomId("page")
.setPlaceholder("Select a stats channel to manage")
.setDisabled(Object.keys(stats).length === 0)
.setMinValues(1)
.setMaxValues(1);
- let actionSelect = new StringSelectMenuBuilder()
+ const actionSelect = new StringSelectMenuBuilder()
.setCustomId("action")
.setPlaceholder("Perform an action")
.setMinValues(1)
@@ -123,7 +123,7 @@
.setDisabled(Object.keys(changes).length === 0),
);
- let embed = new EmojiEmbed()
+ const embed = new EmojiEmbed()
.setTitle("Stats Channels")
.setDescription(description + "\n\n" + createPageIndicator(Object.keys(stats).length, page))
.setEmoji("SETTINGS.STATS.GREEN")
@@ -264,7 +264,7 @@
case "add":
break;
case "save":
- let changed = applyChanges(config.stats, changes);
+ const changed = applyChanges(config.stats, changes);
singleNotify("statsChannelDeleted", interaction.guild.id, true)
config.stats = changed;
changes = {}
diff --git a/src/commands/settings/stats.ts b/src/commands/settings/stats.ts
index 2fd947b..f191a34 100644
--- a/src/commands/settings/stats.ts
+++ b/src/commands/settings/stats.ts
@@ -206,7 +206,7 @@
let currentObject: ObjectSchema = config.stats;
let modified = false;
do {
- let embed = new EmojiEmbed()
+ const embed = new EmojiEmbed()
.setTitle("Stats Settings")
.setEmoji("SETTINGS.STATS.GREEN")
.setStatus("Success");