chore: comment clean up
This commit is contained in:
2
index.js
2
index.js
@ -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'));
|
||||||
|
|||||||
Reference in New Issue
Block a user