fixing eslint
diff --git a/src/commands/settings/logs/events.ts b/src/commands/settings/logs/events.ts
index a1f24fa..eeef8fb 100644
--- a/src/commands/settings/logs/events.ts
+++ b/src/commands/settings/logs/events.ts
@@ -104,7 +104,7 @@
`**Channel:** ${data.channel ? `<#${data.channel}>` : "None"}\n`
)
- let components: ActionRowBuilder<ButtonBuilder | ChannelSelectMenuBuilder | StringSelectMenuBuilder>[] = [channelMenu, buttons];
+ const components: ActionRowBuilder<ButtonBuilder | ChannelSelectMenuBuilder | StringSelectMenuBuilder>[] = [channelMenu, buttons];
if(show) components.push(toLogMenu);
await interaction.editReply({
@@ -120,7 +120,7 @@
}) as ButtonInteraction | StringSelectMenuInteraction | ChannelSelectMenuInteraction;
} catch (e) {
closed = true;
- break;
+ continue;
}
await i.deferUpdate();
@@ -147,7 +147,7 @@
}
}
} else if(i.isStringSelectMenu()) {
- let hex = toHexInteger(i.values);
+ const hex = toHexInteger(i.values);
data.toLog = hex;
} else if(i.isChannelSelectMenu()) {
data.channel = i.values[0]!;