Add cache expiry to LRN

This commit is contained in:
Christopher Cookman 2025-05-28 11:02:15 -06:00
parent 3de43aa6f4
commit b264ea6e4d

View file

@ -215,7 +215,8 @@ Client.on("interactionCreate", async (interaction) => {
{ name: "SPID", value: `\`${lrn.spid}\`` || "`NULL`", inline: true }, { name: "SPID", value: `\`${lrn.spid}\`` || "`NULL`", inline: true },
{ name: "Activation Date", value: `<t:${Math.floor(lrn.activation)}>` } { name: "Activation Date", value: `<t:${Math.floor(lrn.activation)}>` }
], ],
footer: { text: "This is cached data." }, footer: { text: "This is cached data. Expires" },
timestamp: new Date(cached.timestamp).toISOString(),
color: 0x00FF00 color: 0x00FF00
}] }]
}) })