cleaned up anagram.js, combined module exports.

This commit is contained in:
2019-03-18 06:23:27 +11:00
parent 7d11f13e30
commit 467dc136ff
22 changed files with 513 additions and 496 deletions

View File

@@ -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("❌");
}
}
}