TypeScript Initial

This commit is contained in:
Christer Warén
2023-06-04 04:07:41 +03:00
parent 4d18468e96
commit 56f0ab5a40
39 changed files with 24 additions and 30 deletions

View File

@ -0,0 +1,15 @@
module.exports = {
name: 'SIGINT',
execute(client) {
client.user.setStatus('dnd');
client.streamer.leave(client);
client.radio.save(client);
setInterval(() => {
if(client.radio.size == 0){
process.exit();
}
}, 500);
}
}