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,11 +1,13 @@
exports.name = 'Get auto parent'
exports.alias = ['getautoparent']
exports.helptext = 'gets the auto creation channel'
exports.helphide = false
exports.permissions = ['ADMINISTRATOR']
exports.category = 'admin'
exports.command = (client, msg) => {
client.database.get_setting("autoParent", msg.guild.id).then((r) => {
msg.reply(`${r} - ${msg.guild.channels.get(r).name}`);
});
module.exports = {
name = 'Get auto parent',
alias =['getautoparent'],
helptext = 'gets the auto creation channel',
helphide = false,
permissions =['ADMINISTRATOR'],
category = 'admin',
command = (client, msg) => {
client.database.get_setting("autoParent", msg.guild.id).then((r) => {
msg.reply(`${r} - ${msg.guild.channels.get(r).name}`);
});
}
}