mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
JS HAS CONST
This commit is contained in:
@@ -116,8 +116,8 @@ export function createCache(
|
||||
}
|
||||
|
||||
setInterval(() => {
|
||||
let values = cache.unrepliedInteractions.values();
|
||||
let now = Date.now();
|
||||
const values = cache.unrepliedInteractions.values();
|
||||
const now = Date.now();
|
||||
for (let val; (val = values.next().value); ) {
|
||||
if ((val >> 22n) + 1420071300000n < now) {
|
||||
cache.unrepliedInteractions.delete(val);
|
||||
|
||||
Reference in New Issue
Block a user