Merge branch 'master' of https://github.com/mudkipscience/woomy
This commit is contained in:
commit
75b2db1a97
1 changed files with 7 additions and 1 deletions
8
index.js
8
index.js
|
@ -97,4 +97,10 @@ const init = async () => {
|
|||
};
|
||||
};
|
||||
|
||||
init();
|
||||
process.on('SIGINT', function(){
|
||||
client.logger.info("Disconnecting...")
|
||||
client.destroy();
|
||||
process.exit();
|
||||
});
|
||||
|
||||
init();
|
||||
|
|
Loading…
Reference in a new issue