feat: add tmp clearing
This commit is contained in:
parent
e64357994e
commit
393806051c
|
@ -41,6 +41,9 @@ const rest = new REST().setToken(process.env.TOKEN!);
|
||||||
// And of course, make sure you catch and log any errors!
|
// And of course, make sure you catch and log any errors!
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// clear tmp
|
||||||
|
fs.rmSync('./tmp', { recursive: true, force: true });
|
||||||
})();
|
})();
|
||||||
|
|
||||||
client.on('ready', () => {
|
client.on('ready', () => {
|
||||||
|
|
Loading…
Reference in a new issue