Merge branch 'dev' into 'main'
Update file logBtnsCmds.ts See merge request illegitimate/illegitimate-bot!345
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user