This commit is contained in:
Emily 2021-03-01 11:56:39 +11:00
commit 75b2db1a97

View file

@ -97,4 +97,10 @@ const init = async () => {
}; };
}; };
init(); process.on('SIGINT', function(){
client.logger.info("Disconnecting...")
client.destroy();
process.exit();
});
init();