mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
Initial commit
This commit is contained in:
10
commands/setautoparent.js
Normal file
10
commands/setautoparent.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user