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,10 +1,12 @@
|
||||
exports.name = 'Set auto parent'
|
||||
exports.alias = ['setautoparent']
|
||||
exports.helptext = 'sets the auto creation category'
|
||||
exports.helphide = false
|
||||
exports.permissions = ['ADMINISTRATOR']
|
||||
exports.args = ['VChannelID']
|
||||
exports.category = 'admin'
|
||||
exports.command = (client, msg) => {
|
||||
database.set_setting(msg.guild.id, "autoParent", msg.suffix);
|
||||
module.exports = {
|
||||
name = 'Set auto parent',
|
||||
alias =['setautoparent'],
|
||||
helptext = 'sets the auto creation category',
|
||||
helphide = false,
|
||||
permissions =['ADMINISTRATOR'],
|
||||
args =['VChannelID'],
|
||||
category = 'admin',
|
||||
command = (client, msg) => {
|
||||
database.set_setting(msg.guild.id, "autoParent", msg.suffix);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user