cache new nicknames

master
Kit Kasune 3 years ago
parent 9ed52301da
commit 0ce81eff87
  1. 1
      commands/anime/char.js

@ -509,6 +509,7 @@ module.exports = {
ch.nicknames.push(nn); ch.nicknames.push(nn);
ch.markModified('nicknames'); ch.markModified('nicknames');
ch.save(); ch.save();
client.misc.cache.chars.set(nn, ch.id);
} }
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({
embeds: [ embeds: [

Loading…
Cancel
Save