clean for each restart
This commit is contained in:
parent
2f11029b66
commit
4a4771c60b
4
index.js
4
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);
|
||||
setInterval(()=>{update(headers,numbers,client,process.env.PALWORLD_API_TOKEN)}, 300000);
|
||||
Loading…
x
Reference in New Issue
Block a user