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