From 4a4771c60bca8435c6f26d1a8ed7cac1d0848320 Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Thu, 29 Jan 2026 13:11:54 +0100 Subject: [PATCH] clean for each restart --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 327af7d..9e2dba6 100644 --- a/index.js +++ b/index.js @@ -70,6 +70,7 @@ client.once('ready', async () => { } deploy(process.env.DISCORD_TOKEN); + clean(client); }); client.on(Events.InteractionCreate, async interaction => { @@ -112,5 +113,4 @@ client.on(Events.InteractionCreate, async interaction => { client.login(process.env.DISCORD_TOKEN); -setInterval(()=>{update(headers,numbers,client,process.env.PALWORLD_API_TOKEN)}, 300000); -setInterval(()=>{clean(client)}, 86400000); \ No newline at end of file +setInterval(()=>{update(headers,numbers,client,process.env.PALWORLD_API_TOKEN)}, 300000); \ No newline at end of file