wrong event type

This commit is contained in:
derpystuff 2024-04-11 23:45:41 +02:00
parent 4c8d717e9a
commit 4c9be4a6b0

View file

@ -65,7 +65,7 @@ const { createEmbed } = require('./utils/embed');
const superagent = require('superagent');
// Analytics
commandClient.on('commandRan', ({ context, command }) => { if(!command.metadata.use_custom_ingest) ingest(command.name, "slash_command_ran")} )
commandClient.on('commandRan', ({ context, command }) => { if(!command.metadata.use_custom_ingest) ingest(command.name, "command_ran")} )
interactionClient.on('commandRan', ({ context, command }) => { if(!command.metadata.use_custom_ingest) ingest(command.name, "slash_command_ran")} )
// Handle missing permission errors