mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-04-19 08:04:50 +00:00
16 lines
314 B
JavaScript
16 lines
314 B
JavaScript
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);
|
|
}
|
|
}
|