Update file logBtnsCmds.ts

This commit is contained in:
2025-06-05 12:26:06 +02:00
parent 13e56715c2
commit 69e0d9a3ba

View File

@@ -13,7 +13,7 @@ const event: Event<"interactionCreate"> = (interaction) => {
}
if (subcommand) {
log(
log.custom(
interaction.user.username + " ran " +
interaction.commandName + " " +
subcommand,
@@ -21,7 +21,7 @@ const event: Event<"interactionCreate"> = (interaction) => {
{ type: "preset", color: "pink" }
)
} else {
log(
log.custom(
interaction.user.username + " ran " +
interaction.commandName,
"info",
@@ -39,7 +39,7 @@ const event: Event<"interactionCreate"> = (interaction) => {
btnId = btnId.split("-")[0]
}
log(
log.custom(
interaction.user.username + " clicked " + btnId,
"info",
{ type: "preset", color: "pink" }
@@ -48,4 +48,4 @@ const event: Event<"interactionCreate"> = (interaction) => {
}
}
export default event
export default even