From 0ce81eff87180cea2e56aba9351f90c34f5a036c Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Fri, 24 Dec 2021 03:15:45 -0700 Subject: [PATCH] cache new nicknames --- commands/anime/char.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/anime/char.js b/commands/anime/char.js index 045a6a5..dadadd7 100644 --- a/commands/anime/char.js +++ b/commands/anime/char.js @@ -509,6 +509,7 @@ module.exports = { ch.nicknames.push(nn); ch.markModified('nicknames'); ch.save(); + client.misc.cache.chars.set(nn, ch.id); } client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ embeds: [