Merge branch 'dev' into 'main'

Update file logBtnsCmds.ts

See merge request illegitimate/illegitimate-bot!345
This commit is contained in:
2025-06-05 12:27:06 +02:00

View File

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