Replaced clang format with prettuier (sadly)

This commit is contained in:
2023-12-28 16:47:52 +01:00
parent ca5bbd0b81
commit 117140fe9d
99 changed files with 13519 additions and 12011 deletions

View File

@@ -10,25 +10,33 @@ const event: Event = {
execute(interaction: ChatInputCommandInteraction | ButtonInteraction) {
if (interaction.isCommand()) {
try {
console.log(interaction.user.username + " ran " +
interaction.commandName + " " +
interaction.options.getSubcommand()
console.log(
interaction.user.username +
" ran " +
interaction.commandName +
" " +
interaction.options.getSubcommand(),
)
} catch {
console.log(interaction.user.username + " ran " +
interaction.commandName
console.log(
interaction.user.username +
" ran " +
interaction.commandName,
)
}
}
if (interaction.isButton()) {
console.log(interaction.user.username + "#" +
interaction.user.discriminator + " clicked " +
interaction.customId
console.log(
interaction.user.username +
"#" +
interaction.user.discriminator +
" clicked " +
interaction.customId,
)
return
}
}
},
}
export = event
export = event