mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
cleaned up anagram.js, combined module exports.
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
exports.name = 'Restart'
|
||||
exports.alias = ['restart']
|
||||
exports.helptext = 'Restart DAdmin'
|
||||
exports.helphide = true
|
||||
exports.permissions = ['READ_MESSAGES']
|
||||
exports.category = 'admin'
|
||||
exports.command = (client, msg) => {
|
||||
var r = "220772082055774210";
|
||||
if (msg.member.id == r) {
|
||||
msg.react("✅");
|
||||
msg.reply("Shutting Down.. 😭");
|
||||
setTimeout(function () {
|
||||
process.exit(22);
|
||||
}, 1000);
|
||||
} else {
|
||||
msg.react("❌");
|
||||
module.exports = {
|
||||
name = 'Restart',
|
||||
alias =['restart'],
|
||||
helptext = 'Restart DAdmin',
|
||||
helphide = true,
|
||||
permissions =['READ_MESSAGES'],
|
||||
category = 'admin',
|
||||
command = (client, msg) => {
|
||||
var r = "220772082055774210";
|
||||
if (msg.member.id == r) {
|
||||
msg.react("✅");
|
||||
msg.reply("Shutting Down.. 😭");
|
||||
setTimeout(function () {
|
||||
process.exit(22);
|
||||
}, 1000);
|
||||
} else {
|
||||
msg.react("❌");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user