fix: copy pasta
Node.js CI / Lint and Test (push) Successful in 33s

This commit is contained in:
2025-08-13 20:02:09 -07:00
parent 2e254bbf82
commit eb820bfe04
2 changed files with 56 additions and 51 deletions
+9 -3
View File
@@ -19,7 +19,10 @@ const client = new Client({
});
client.once(Events.ClientReady, () => {
void logger.log("info", `Logged in as ${client.user?.username ?? "unknown user"}`);
void logger.log(
"info",
`Logged in as ${client.user?.username ?? "unknown user"}`,
);
});
client.on(Events.MessageCreate, (message) => {
@@ -30,8 +33,11 @@ client.on(Events.InteractionCreate, (interaction) => {
if (!interaction.isChatInputCommand()) {
return;
}
void interaction.reply({ components: blocks, flags: MessageFlags.IsComponentsV2 });
})
void interaction.reply({
components: blocks,
flags: MessageFlags.IsComponentsV2,
});
});
await client.login(process.env.BOT_TOKEN);
instantiateServer();