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