implement pino poc

This commit is contained in:
JT2M0L3Y
2026-10-21 19:09:28 -07:00
parent 99db6d8163
commit 217291e531
22 changed files with 332 additions and 97 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import commands from '../commands/index.js'
export default event(Events.InteractionCreate, async ({ log, client }, interaction) => {
if (!interaction.isCommand() || !interaction.isChatInputCommand()) return
log(`Interaction called \'${interaction.commandName}\' from ${interaction.user.tag}.`)
log.info({ command: interaction.commandName, user: interaction.user.tag }, 'Interaction received')
// ensure command exists, otherwise kill event
const command = commands.find(command => command.name === interaction.commandName)