diff --git a/index.js b/index.js index b59b67d..57c458a 100644 --- a/index.js +++ b/index.js @@ -130,7 +130,7 @@ Client.on("interactionCreate", async (interaction) => { } else { cached = {} } - if (!cached.lrn || new Date() > new Date(cached?.expires)) { + if (!cached.lrn || new Date() > new Date(cached?.expires) || ani) { // Old, get from API interaction.reply({ ephemeral: showLrn, content: `<:checking:1305271116134092842> Looking up \`${did}\`` }).then(() => { axios.get(process.env.LRN_API_URL.replaceAll("%did", did).replaceAll("%ani", ani || "")).then((response) => {