This commit is contained in:
Emily 2021-03-01 11:56:39 +11:00
commit 75b2db1a97
1 changed files with 7 additions and 1 deletions

View File

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