<commit_before>const { Listener } = require('discord-akairo')
const logr = require('logr')

function exec(msg, cmd) {
  logr.info('Command', `${msg.guild.name} :: ${msg.channel.name} :: ${msg.author.tag} > ${cmd.id}`)
}

module.exports = new Listener('commandFinished', exec, {<commit_msg>Update commandFinished<commit_after>const { Listener } = require('discord-akairo')
const logr = require('logr')

function exec(msg, cmd) {
  let str = `${msg.author.tag} > ${cmd.id}`
  if (msg.guild) str = `${msg.guild.name} :: ${msg.channel.name} :: ${str}`
  logr.info(str)
}

module.exports = new Listener('commandFinished', exec, {
{'fraction_non_alphanumeric': 0.20673076923076922, 'fraction_numerical': 0.0, 'mean_word_length': 5.313131313131313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7637903', 'n_tokens_mistral': 224, 'n_tokens_neox': 228, 'n_words': 43}