chore: comment clean up

This commit is contained in:
2025-07-31 17:11:53 -04:00
parent 77e1e8fcd8
commit 20fbf38017

View File

@ -205,7 +205,7 @@ client.on(Events.InteractionCreate, async interaction => {
await interaction.update({ content: `Loaded ${keys.length} keys into the key vault.`, components: [] }); await interaction.update({ content: `Loaded ${keys.length} keys into the key vault.`, components: [] });
} }
// Button interaction for register // Button interaction for registering for demo key
if (interaction.isButton() && interaction.customId === 'register_button') { if (interaction.isButton() && interaction.customId === 'register_button') {
if (interaction.message.id !== data.messageId) return; if (interaction.message.id !== data.messageId) return;
const channel = await interaction.guild.channels.fetch(data.loggingChannel).catch(() => handleFailedLoggingChannel(interaction.user.tag, interaction.user.id, null, 'No logging channel found')); const channel = await interaction.guild.channels.fetch(data.loggingChannel).catch(() => handleFailedLoggingChannel(interaction.user.tag, interaction.user.id, null, 'No logging channel found'));