quotes and bug fixes
This commit is contained in:
12
commands/exit.js
Normal file
12
commands/exit.js
Normal file
@@ -0,0 +1,12 @@
|
||||
var libFlayer = require("../libFlayer.js");
|
||||
|
||||
module.exports = {
|
||||
name: 'exit',
|
||||
description: 'Exit',
|
||||
execute(message) {
|
||||
message.reply(
|
||||
`!Goodbye world - someone respawn my process`
|
||||
);
|
||||
await new Promise(resolve => setTimeout(process.exit(), 5000));
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user